LogicalXor - Math
Revision as of 18:23, 17 November 2014 by imported>Foxox (Important information about behavior of this function)
SKSE Member of: Math Script
Bitwise XORs(Exclusive OR) arg1 and arg2.
Despite being named "Logical", this function performs a bitwise operation.
SyntaxEdit
int Function LogicalXor(int arg1, int arg2) global native
ParametersEdit
- arg1: The first value to XOR.
- arg2: The second value to XOR.
Return ValueEdit
The decimal result of the XOR.
ExamplesEdit
int iA = Math.LogicalXor(0x000D5296, 0x0002935C) ;iA == 1032650
int iC = Math.LogicalXor(22, 79) ;iC == 89