### Select / End Select

The Insert | Flow Control Command | Control Pairs | Select / End Select menu option allow for the addition of a conditional block that is used in conjunction with the CASE / END CASE and Default Case / End Default Case pairs. The expression for the Select command provides data that is compared against the expression in the Case statements. If the two expressions evaluate to the same thing, then the statements within the Case / End Case Block will execute. The SELECT / END SELECT block surrounds the sets of CASE / END CASE and DEFAULT CASE / END DEFAULT CASE blocks.

The Edit window command line for a SELECT / END SELECT statement reads:
SELECT/expression
END_SELECT/

To insert the Select / End Select commands:

1. Place the cursor in the desired location of the Edit window.

2. Choose Select / End Select from the menu bar. The SELECT / End SELECT statements will appear in the Edit window.

More:

Code Sample of Select / End Select