RC BASIC Operators

OPERATORS | DESCRIPTION | EXAMPLE
ADDITION ( + ) | ADDS TWO NUMBERS | 1 + 2
SUBTRACTION ( - ) | SUBTRACTS ONE NUMBER FROM ANOTHER | 1 - 2
MULTIPLICATION ( * ) | MULTIPLIES TWO NUMBERS | 1 * 2
DIVISION ( / ) | DIVIDES ONE NUMBER BY ANOTHER | 1 / 2
EXPONENT ( ^ ) | RAISES ONE NUMBER TO THE POWER OF ANOTHER | 1^2
GREATER ( > ) | RETURNS TRUE IF THE FIRST NUMBER IS GREATER THAN THE SECOND | 1 > 2 (RETURNS FALSE) 2 > 1 (RETURNS TRUE)
LESS ( < ) | RETURNS TRUE IF THE FIRST NUMBER IS LESS THAN THE SECOND | 1 < 2 (RETURNS TRUE) 2 < 1 (RETURNS FALSE)
GREATER OR EQUAL ( >= ) | RETURNS TRUE IF THE FIRST NUMBER IS GREATER THAN OR EQUAL TO THE SECOND | 1 >= 2 (RETURNS FALSE) 1 >= 1 (RETURNS TRUE) 2 >= 1 (RETURNS TRUE)
LESS OR EQUAL ( <= ) | RETURNS TRUE IF THE FIRST NUMBER IS LESS THAN OR EQUAL TO THE SECOND | 1 <= 2 (RETURNS TRUE) 1 <= 1 (RETURNS TRUE) 2 <= 1 (RETURNS FALSE)
EQUAL ( = ) | RETURNS TRUE IF BOTH VALUES ARE EQUAL | 1 = 2 (RETURNS FALSE) 1 = 1 (RETURNS TRUE)
NOT EQUAL ( <> ) | RETURNS TRUE IF BOTH VALUES ARE NOT EQUAL | 1 <> 2 (RETURNS TRUE) 1 <> 1 (RETURNS FALSE)
MODULOUS ( MOD ) | RETURNS THE REMAINDER OF THE FIRST NUMBER DIVIDED BY THE SECOND | 1 MOD 2 (RETURNS 1)
SHIFT LEFT ( SHL ) | SHIFTS THE BITS IN A NUMBER TO THE LEFT | 1 SHL 2 (RETURNS 4)
SHIFT RIGHT ( SHR ) | SHIFTS THE BITS IN A NUMBER TO THE RIGHT | 4 SHR 2 (RETURNS 1)
AND | CONDUCTS AND COMPARISON OF TWO VALUES | 1 AND 1
OR | CONDUCTS OR COMPARISON OF TWO VALUES | 1 OR 1
XOR | CONDUCTS EXCLUSIVE-OR COMPARISON OF TWO VALUES | 1 XOR 1
NOT | CONDUCTS NOT OPERATION ON A VALUE | NOT 1
STRING ADD ( + ) | COMBINES TWO STRING VALUES | "HELLO"+"WORLD"
END OF INSTRUCTION ( : ) | TELLS COMPILER TO END CURRENT INSTRUCTION AND READ THE FOLLOWING CODE AS NEW INSTRUCTION | X = 5: PRINT X