Loops/Continue: Difference between revisions

(→‎{{header|Simula}}: Section added)
Line 1,622:
print ', '
}</lang>
 
=={{header|Simula}}==
{{works with|SIMULA-67}}
<lang simula>! Loops/Continue - simula67 - 07/03/2017;
begin
integer i;
for i:=1 step 1 until 10 do begin
outint(i,5);
if mod(i,5)=0 then begin
outimage;
goto loop
end;
outtext(", ");
loop:
end
end</lang>
{{out}}
<pre>
    1,     2,     3,     4,     5
    6,     7,     8,     9,    10
</pre>
 
 
=={{header|Suneido}}==
1,392

edits