The structures defined for flow control are as follows:
REPEAT-UNTIL allows you to create a repetitive code loop REPEATing a block of code UNTIL a specific conditional expression evaluates to TRUE. In that sense
REPEAT-UNTIL defines a block of code, operating like the
BEGIN-END compound statement structure which we covered in the previous chapter. In this case, the
REPEAT tells the system to keep reprocessing the block of code, while the
UNTIL serves as the exit doorman, checking if the conditions for ending the processing are true. Because the exit condition is not evaluated until the end of the loop, a
REPEAT-UNTIL structure will always process at least once through the contained code.
REPEAT-UNTIL is ...