XOr

(Engine-Level Function)

Description: Returns the bitwise exclusive OR of its parameters.
Returns: Numeric
Usage: Script or steady state.
Function Groups: Bitwise Operation
Related to: And | Not | Or
Format: XOr(Parm1, Parm2)
Parameters:  
Parm1, Parm2  
Required. Any numeric expressions. If floating point values are supplied, they will be truncated to integers.
Comments: This functions returns the 32 bit bitwise exclusive OR (XOR) of its arguments.

Example:

var1 = XOr(0b1100, 0b1010);

The value of var1 will be 0b0110.