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 measurement routine. To insert a control pair type command into the Edit window, simply type the command, or choose a command from this submenu.
When you use 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:
Default Case / End Default Case