Home » Help Extras » Helpful Tips » Operator precedence in AppleScript
Each operator in AppleScript has an order of precedence. Use the chart below as a guide. AppleScript evaluates operators with lower order numbers before those with higher order numbers. Operators with the same order number are evaluated in an expression from left to right.
Use parentheses to eliminate ambiguity in the process of evaluation—parentheses have the highest order of precedence: (3+2) * 5 = 25. If you use parentheses, AppleScript evaluates the innermost parenthetical expression first.
« Operator precedence | Helpful Tips | Power keys for Paint tools »
Helpful Tips