Maptitude GISDK Help

Precedence of Operators

 

The precedence of operators is:

 

Precedence Operators
1 parentheses (inner to outer)
2 multiplication, division, negation
3 addition, subtraction
4 comparison (relational operators)
5 AND, OR, NOT (logical operators)

 

Operators with the same precedence are evaluated left to right.

 

1 + 2 * 3     // equals 7, not 9

 

 

©2025 Caliper Corporation www.caliper.com