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

2016-12-05 23:44:36 +01: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