## Using Control Pairs

The Insert | Flow Control Command | Control Pairs submenu offers various paired commands that work within the Edit window to govern or "control" the proper flow of the part program. To insert a control pair type command into the Edit window, simply type the command, or choose a command from this submenu.

Important: When using a conditional branching statement to test for a the value of a YES / NO comment, be aware that your test should look for an uppercase "YES" or "NO" value. A lowercase "Yes" or "No" will not work. For information on comments, see the "Inserting Programmer Comments" topic in the "Inserting Report Commands" chapter.

More:

If / End If

Else If / End Else If

Else / End Else

While / End While

Do / Until

Select / End Select

Case / End Case

Default Case / End Default Case