Until control
SYNTAX:
Â
until_control = UNTIL logical_expression .
logical_expression = expression .
The until_control continues the execution of the body of the repeat statement until the control expression evaluates to true . The expression shall be evaluated after each iteration. If the until control is the only control present, at least one iteration will always be executed.
Rules and restrictions:
The logical_expression shall evaluate to a logical value.
The logical_expression is re-evaluated at the end of each iteration.