7.39 DOUNTIL

Note: Usage options

The DOUNTIL command is used to create a conditional loop and to continue looping until the condition is true. The DOUNTIL command loop is "delimited" by the associated ENDUNTIL command which must be present.

Note: The DOUNTIL command is similar in structure to the DOWHILE command. However, there is one important difference. In the DOUNTIL command, the condition is not checked BEFORE doing the first iteration.

Refer to the ENDUNTIL command for more information and examples of both of these commands.

Also See

7.39.1 DOUNTIL Parameters

7.39.2 DOUNTIL Examples

7.6 BEGIN_LOOP

7.43 END_LOOP

7.51 ENDUNTIL

7.40 DOWHILE

7.52 ENDWHILE

                                                         Required

 

  DOUNTIL ------ COND ---------'condition'----------------------|