AND / OR / XOR / NOT
Format: AND, OR, XOR NOT
Supported by: COMX BASIC V1.00, Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0, RCA BASIC3 V1.1, Telmac SBASIC v 24.3
Similar commands: -
The logical operators are AND, OR, XOR NOT. It should be noted that the logical operators convert the expressions to integer before performing the indicated operation and that the expression following the NOT operator must be within parentheses. Further, the logical operators have the same level of priority as + and -.
Some examples are:
In the first three examples, the parentheses are inserted for clarity. They may be omitted.