"do - while" loop
do.while [instructions] condition
Repeat instructions from a list while condition value is true
. Condition is
checked after instructions are executed, therefore instructions are executed at least once.
Example:
make "x 5
do.while [
print :x
make "x :x - 1
] :x > 1
Output:
5
4
3
2
See also:
Loop statements
Table of Content