BitXOR

BitXOR(<value1>, <value2> [, <valueN>]])

The function returns the bitwise XOR of the passed values.

Parameters

value1First value.
value2Second value.
valueNThird and other values.

Related

BitAND, BitNOT, BitOR, BitShift

Remarks

Bitwise operations are performed as 32-bit integers.

Examples

MsgBox(BitXOR(1, 0))     # --> 1
MsgBox(BitXOR(1, 1))     # --> 0
MsgBox(BitXOR(2, 3, 6))  # --> 7