while
| Stack | Position | Description |
|---|---|---|
| Stack(In) | top | value |
| Stack(Out) | top | - |
while ends a cycle that has been started with do. The cycle will be repeated (with a statement following do), if the stack top value can be considered as TRUE (compare if). In this case, the value remains in the stack. FALSE ends the cycle. The value gets taken out of the stack and the statement following while will be executed (see example).
Information: Cycles can have a nesting depth up to 128. Cycles are only allowed within a definition of new statements!