User Guide > Scripting > Writing Expressions > Precedence in Evaluating Expressions
Was this helpful?
Precedence in Evaluating Expressions
Operators in expressions are evaluated in the following order:
1. Exponentiation
2. Multiplication
3. Division
4. Addition
5. Subtraction
The only exception is that operations within parentheses such as (a+x) are evaluated first.
To use the result of one expression as a parameter or argument in another expression, "nest" expressions within expressions.
There is generally no limit (except available memory) to the depth of nesting.
See Also
Last modified date: 12/03/2024