Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
v3:expressions [2023/09/03 08:55] neilsv3:expressions [2024/07/30 22:51] (current) neils
Line 2: Line 2:
  
 When no parentheses are present, arithmetic expressions are evaluated from left to right, with multiplication and division having a higher priority than addition and subtraction. When no parentheses are present, arithmetic expressions are evaluated from left to right, with multiplication and division having a higher priority than addition and subtraction.
 +
 +The following table explains operator precedence in XC=BASIC:
  
 | Highest    | ''NOT'', ''-'' (unary) | | Highest    | ''NOT'', ''-'' (unary) |