
BITAND, BITOR, and BITXOR
Built-in Functions
106126 Tandem Computers Incorporated 4–11
In the following example, a logical exclusive OR (XOR) operation is performed on the
strings '12'x and '22'x:
SAY BITXOR('12'x,'22'x)
The output string is 0 (zero) or hexadecimal '30'x.