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