![background image](http://html1.mh-extra.com/html/omron/r88a-mcw151-drt-e/r88a-mcw151-drt-e_operation-manual_742243211.webp)
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.
1
0
1
1
1
0
Bit 1
Bit 2
Result
01010
XOR
10010
11000