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

6 lines
120 B
Plaintext

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