Loops/Continue: Difference between revisions

Added F# solution. Added note regarding COBOL's CONTINUE verb.
(→‎{{header|Scala}}: Maintenance & suggestion)
(Added F# solution. Added note regarding COBOL's CONTINUE verb.)
Line 173:
GOBACK
.</lang>
 
Note: COBOL does have a <code>CONTINUE</code> verb, but this is a no-operation statement used in <code>IF</code> and <code>EVALUATE</code> statements.
 
=={{header|ColdFusion}}==
Line 387 ⟶ 389:
any_key()
</lang>
 
=={{header|F Sharp|F#}}==
<code>continue</code> is a reserved word, but it has no function. In any case, it is not needed to complete this task.
{{trans|Ada}}
<lang fsharp>for i in 1 .. 10 do
printf "%d" i
if i % 5 = 0 then
printf "\n"
else
printf ", "</lang>
 
=={{header|Factor}}==
Anonymous user