Loops/Continue: Difference between revisions
Add LDPL
m (Simplified the C3 example.) |
(Add LDPL) |
||
Line 1,471:
'Hello, World!' // never gets executed
^}</syntaxhighlight>
=={{header|LDPL}}==
<syntaxhighlight lang="ldpl">data:
i is number
n is number
procedure:
for i from 1 to 11 step 1 do
display i
modulo i by 5 in n
if n is equal to 0 then
display lf
continue
end if
display ", "
repeat</syntaxhighlight>
<pre>
1, 2, 3, 4, 5
6, 7, 8, 9, 10
</pre>
=={{header|Lingo}}==
|