RosettaCodeData/Task/Loops-For-with-a-specified-step/LiveCode/loops-for-with-a-specified-step-1.livecode

6 lines
120 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
repeat with n = 0 to 10 step 2
put n after loopn
if n is not 10 then put comma after loopn
end repeat
put loopn