Until calculation

Command group Flag affected Reversible Execute on client Platform(s)
Constructs NO NO YES All


Until calculation


This command terminates a Repeat-Until conditional loop specifying a calculation as the condition. The calculation is evaluated at the end of the loop that continues if the derived value is zero.


Calculate lCount as 1
Repeat ;; Repeat loop
  Calculate lCount as lCount+1
Until lCount>=3
OK message {Count=[lCount]} ;; prints ‘Count=3’