Loops/For with a specified step: Difference between revisions
Content added Content deleted
Jazzedpineda (talk | contribs) (Added EasyLang implementation) |
|||
Line 1,181: | Line 1,181: | ||
} |
} |
||
println("who do we appreciate?")</syntaxhighlight> |
println("who do we appreciate?")</syntaxhighlight> |
||
=={{header|EasyLang}}== |
|||
<syntaxhighlight lang="easylang"> |
|||
# Prints even numbers from 0 to 100 |
|||
for i = 0 step 2 to 100 |
|||
print i |
|||
. |
|||
# Decimal step value |
|||
for i = 0 step 1.23 to 100 |
|||
print i |
|||
. |
|||
</syntaxhighlight> |
|||
=={{header|EchoLisp}}== |
=={{header|EchoLisp}}== |