Loops/For with a specified step: Difference between revisions
Content added Content deleted
m (Added Dyalect) |
No edit summary |
||
Line 2,744: | Line 2,744: | ||
8 |
8 |
||
10</pre> |
10</pre> |
||
=={{header|Vlang}}== |
|||
This prints all odd digits: |
|||
<lang vlang>for i := 1; i<10; i+=2 { |
|||
println(i) |
|||
}</lang> |
|||
=={{header|Vorpal}}== |
=={{header|Vorpal}}== |