4D v13.4Repeat...Until |
||
|
4D v13.4
Repeat...Until
Repeat...Until
The formal syntax of the Repeat...Until control flow structure is: Repeat A Repeat...Until loop is similar to a While...End while loop, except that it tests the Boolean expression after the loop rather than before. Thus, a Repeat...Until loop always executes the loop once, whereas if the Boolean expression is initially False, a While...End while loop does not execute the loop at all. The other difference with a Repeat...Until loop is that the loop continues until the Boolean expression is TRUE. Compare the following example with the example for the While...End while loop. Note that the Boolean expression does not need to be initialized—there is no CONFIRM command to initialize the OK variable. Repeat |
PROPERTIES
Product: 4D SEE ALSO
Case of...Else...End case |