196
Command, function and parameter description Section 6-3
Arguments:
expression_1
Any valid BASIC expression.
expression_2
Any valid BASIC expression.
Example: a = 10 XOR (2.1*9)
The parentheses are evaluated first, but only the integer part of the result, 18,
is used for the operation. Therefore, this expression is equivalent to the fol-
lowing:
VR(0)=10 XOR 18
The XOR is a bit operator and so the binary action taking place is as follows:
The result is, therefore, 24.
101
110
Bit 1 Bit 2 Result
01010
XOR 10010
11000