Loops/Do-while: Difference between revisions
Added EasyLang implementation
Jazzedpineda (talk | contribs) (Added EasyLang implementation) |
|||
Line 964:
<!-- XXX we should have an example of lambda-args sugar here -->
=={{header|EasyLang}}==
EasyLang does not include an built-in do-while loop, but a repeat-until loop can be used, with the condition inside a '''not''' operator.
<syntaxhighlight lang="easylang">
value = 0
repeat
value += 1
print value
until not (value mod 6 <> 0)
.
</syntaxhighlight>
=={{header|Ela}}==
|