Operators

Numeric expressions are evaluated similarly to BASIC V2 or any other BASIC dialects, with some minor incompatibilities. The currently supported operators are:

Arithmetic operators

  • * (mutiplication)
  • / (division)
  • + (addition)
  • - (substraction)

Relational operators

  • = (equal to)
  • <> (not equal to)
  • > (greater than)
  • >= (greater than or equal to)
  • < (less than)
  • <= (less than or equal to)

Conditional operators

  • AND
  • OR

Bitwise operators

  • & (and)
  • | (or)
  • ^ (exclusive or)

Note that you are not allowed to use the AND or OR keywords for bitwise operations as in BASIC V2.

Unary operators

  • @ (address of)