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)

Discussion

Enter your comment. Wiki syntax is allowed:
F B T I I
 
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies