Loops/Do-while: Difference between revisions

Content added Content deleted
(Added EasyLang implementation)
Line 964: Line 964:


<!-- XXX we should have an example of lambda-args sugar here -->
<!-- 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}}==
=={{header|Ela}}==