RosettaCodeData/Task/Loops-Continue/MOO/loops-continue.moo

11 lines
134 B
Plaintext

s = "";
for i in [1..10]
s += tostr(i);
if (i % 5 == 0)
player:tell(s);
s = "";
continue;
endif
s += ", ";
endfor