5.8. The Grouping OperatorAside from being used in function calls, parentheses ( ) can also be used to group a phrase of code to override the precedence of various operators. Parentheses are also required in some statements, most notably if statements. Parentheses take the general form: (expression) The expression within the parentheses is evaluated and returned. Here are some examples:
Copyright © 2002 O'Reilly & Associates. All rights reserved. |
|