Loops/Continue: Difference between revisions

Content added Content deleted
Line 21:
end Loop_Continue;
</ada>
=={{header|ALGOL 68}}==
[[ALGOL 68]] has no continue reserved word, nor does it need one. The continue reserved word is only syntactic sugar for operations that can be achieved without it as in the following example:
<pre>
FOR i FROM 1 TO 10 DO
print ((i,
IF i MOD 5 = 0 THEN
new line
ELSE
","
FI
))
OD
</pre>
Output:
<pre>
+1, +2, +3, +4, +5
+6, +7, +8, +9, +10
</pre>
 
=={{header|C}}==