Loops/For with a specified step: Difference between revisions
Content added Content deleted
m (→Icon and Unicon: header simplification) |
(added Fantom example) |
||
Line 186: | Line 186: | ||
=={{header|FALSE}}== |
=={{header|FALSE}}== |
||
<lang false>2[$9\>][$.", "2+]#"who do we appreciate!"</lang> |
<lang false>2[$9\>][$.", "2+]#"who do we appreciate!"</lang> |
||
=={{header|Fantom}}== |
|||
<lang fantom> |
|||
class Main |
|||
{ |
|||
public static Void main () |
|||
{ |
|||
Int step := 5 |
|||
for (Int i := 0; i < 100; i += step) |
|||
{ |
|||
echo (i) |
|||
} |
|||
} |
|||
} |
|||
</lang> |
|||
=={{header|Forth}}== |
=={{header|Forth}}== |