Name
BitXor -- bitwise xor two values (V2.0)
Synopsis
r = BitXor(a, b)
Function
Performs a bitwise xor operation on a and b and returns the result. The exclusive-or operation will set each bit in the resulting value only if the corresponding bit is set in one of the source values. If the bit is set in both source values, it will not be set in the resulting value.

Inputs
a
source value 1
b
source value 2
Results
r
result of the bitwise xor
Example
Print(BinStr(BitXor(Val("%11010001"), Val("%10110010")))
Performs exclusive-or on the values %11010001 and %10110010 which results in the value %01100011.

Show TOC