Loops/Continue: Difference between revisions

Add lang example
(Add lang example)
Line 1,336:
6, 7, 8, 9, 10. (end of loop)
</syntaxhighlight>
 
=={{header|Lang}}==
<syntaxhighlight lang="lang">
$i = 0
while($i < 10) {
$i += 1
if(parser.op($i % 5) === 0) {
fn.println($i)
con.continue
}
fn.print($i\,\s)
}
</syntaxhighlight>
 
{{out}}
<pre>
1, 2, 3, 4, 5
6, 7, 8, 9, 10
</pre>
 
=={{header|langur}}==
168

edits