Notebook
4 data _null_; 5 6 retain product 1; 7 do i = 2 to 8 by 2, 11; 8 product=product*i; 9 end; 10 11 put 'The product is: ' product; The product is: 4224
Finally, a word about name choices. Names should be descriptive because more than likely you will be one who has to re-read and understand tomorrow the code you write today. As with any language, it is a good practice to avoid language keywords for object names.