Loops/For with a specified step: Difference between revisions

Add LDPL
(Add LDPL)
Line 1,722:
'\r' // for formatting
^}</syntaxhighlight>
 
=={{header|LDPL}}==
<syntaxhighlight lang="ldpl"># Display the even numbers up to twenty.
 
data:
i is number
 
procedure:
for i from 0 to 21 step 2 do
display i lf
repeat</syntaxhighlight>
{{out}}
<pre>
0
2
4
6
8
10
12
14
16
18
20
</pre>
 
=={{header|LIL}}==
1,808

edits