RosettaCodeData/Task/Loops-Do-while/SAS/loops-do-while.sas
2016-12-05 22:15:40 +01:00

8 lines
131 B
SAS

/* using DO UNTIL so that the loop executes at least once */
data _null_;
n=0;
do until(mod(n,6)=0);
n+1;
put n;
end;
run;