EasyManua.ls Logo

Omron R88A-MCW151-DRT-E - Page 211

Omron R88A-MCW151-DRT-E
276 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals