RosettaCodeData/Task/Loops-For-with-a-specified-step/LiveCode/loops-for-with-a-specified-step-1.livecode
2016-12-05 23:44:36 +01:00

5 lines
120 B
Text

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