While flag false

Command groupFlag affectedReversibleExecute on clientPlatform(s)
ConstructsNONOYESAll

Syntax

While flag false

Description

This command starts a While–End While loop that continues while the flag is false. While the condition is false, a command or a series of commands is executed until the condition becomes true, at which time the first command after the closing End While is executed. A loop that begins with a While command must terminate with an End While, otherwise an error occurs.

Example

# loop until 'Yes' is pressed

Calculate
 
#F
 as 
kFalse
 
## set falg as True

While flag false

  
No/Yes message
 
{
Do you wish to stop looping
}

End While