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

9 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;