Specifications

Section 8. Processing and Math Instructions
8-38
Parameter
& Data Type
Enter
Pressure
Variable or
Constant
The variable containing atmospheric pressure (kPa).
XOR
Performs a logical exclusion on two expressions.
Syntax
result = expr1 XOR expr2
Remarks
If only one of the expressions evaluates True, result is True. If either
expression is a Null, result is also a Null. When neither expression is a Null,
result is determined according to the following table:
If expr1 is And expr2 is The result is
True True False
True False True
False True True
False False False
The XOR operator also performs a bit-wise comparison of identically
positioned bits in two numeric expressions and sets the corresponding bit in
result according to the following truth table:
If bit in expr1 is And bit in expr2 is The result is
0 0 0
0 1 1
1 0 1
1 1 0