Group Selection Lines Using Parentheses

Parentheses around a group of lines in a selection statement tell the computer to implement those lines first when evaluating the statement -- that is, to give them the highest precedence. By grouping lines together and defining the order of operation, parentheses can provide a large degree of flexibility when building a selection statement. Typically, it is easier to add parentheses and define the order of operation in the selection statement after all lines have been added. To add parentheses to your selection statement, follow these steps.

  1. With your mouse, highlight the selection lines which will be between the parentheses.

  2. Click Add (...). Parentheses will surround the lines you had highlighted.

To remove parentheses from your selection statement, follow these steps.

  1. Highlight the selection lines that are enclosed by the parentheses you want to remove.

  2. Click Delete (...) to delete the parentheses that surround the highlighted lines, or Del All (...) to delete all pairs of parentheses within those lines.