SD - The Open Source, Multivalue, String, Database
The BITXOR() function forms the bitwise logical exclusive-OR of two integer values.
Format: BITXOR(expr1, expr2)
Parameters: expr1 and expr2 evaluate to integers
The BITXOR() function converts expr1 and expr2 to 32 bit integers and performs a bit-by-bit logical exclusive-OR to form a new integer value as the result.
The value of each bit in the result is 1 if same bit position in one and only one of expr1 and expr2 is 1.
Example:
FLAGS = BITXOR(FLAGS, 8)
This statement inverts the bit with integer value 8 in the FLAGS variable.
See also: BITAND(), BITNOT(), BITOR(), BITRESET(), BITSET(), BITTEST(), SHIFT()
SD Basic Functions - BITXOR()
OpenQM 2.6.6 documentation for this command is available here. The OpenQM documentation may provide additional context for this command. However, some features in SD have been modified so the OpenQM information may not be 100% applicable to SD.