Expressions in PAscript are calculated in a specific order.

  1. Powers, functions.
  2. Bracketed expressions.
  3. Multiplication and division.
  4. Addition and subtraction.
  5. All other cases from right to left.