RosettaCodeData/Task/Loops-Continue/DWScript/loops-continue.dw

11 lines
150 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
var i : Integer;
for i := 1 to 10 do begin
Print(i);
if i mod 5 = 0 then begin
PrintLn('');
continue;
end;
Print(', ');
end;