| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| Constructs | NO | NO | YES | All |
This command starts a WhileEnd While loop which continues while the flag is true. While the condition is true, a command or a series of commands is executed until the condition becomes false, at which time the first command after the closing End While command is executed. A loop that begins with a While command must terminate with an End While, otherwise an error occurs.
# loop until 'No' is pressed
Calculate#Fas## set falg as TrueWhile flag trueYes/No message{Do you wish to contine looping ?}
End While