Jump to content

Loops/For with a specified step: Difference between revisions

Added EasyLang implementation
(Added EasyLang implementation)
Line 1,181:
}
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}}==
175

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.