Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

Operator Associativity

If two operators in an expression have the same precedence level, they are evaluated from left to right or right to left depending on their associativity.

For example, additions associativity is Left to Right, so the expression 2+3+4 is evaluated as (2+3)+4. In contrast, the assign operators associativity is Right to Left; so the expression x=y=z is evaluated as x=(y=z).

The Associativity of each operator is listed in the right-most column of the previous table.

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend