Until

Command groupFlag affectedReversibleExecute on clientPlatform(s)
ConstructsNONOYESAll

Syntax

Until
 
calculation

Description

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.

Example

Calculate
 
lCount
 as 
1

Repeat
 
## Repeat loop

  
Calculate
 
lCount
 as 
lCount
+1

Until
 
lCount
>=3

OK message
 
{
Count=[
lCount
]
}
 
## prints ‘Count=3’