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

9 lines
131 B
SAS
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
/* 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;