While control
SYNTAX:
while_control = WHILE logical_expression .
logical_expression = expression .
The while_control initiates and continues the execution of the body of the repeat statement as long as the control expression evaluates to true . The expression is evaluated before each iteration. If the while control is present and the expression evaluates to false or unknown the body is not executed.
Rules and restrictions:
The logical_expression shall evaluate to a logical value.
The logical_expression is re-evaluated at the beginning of each iteration.