RosettaCodeData/Task/Loops-Do-while/SAS/loops-do-while.sas

9 lines
131 B
SAS
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
/* using DO UNTIL so that the loop executes at least once */
data _null_;
n=0;
do until(mod(n,6)=0);
2016-12-05 22:15:40 +01:00
n+1;
put n;
2013-04-10 22:43:41 -07:00
end;
run;