Performs a bitwise exclusive OR operation.
Math,BitXor,<DestVar>,<Vaue1>,<Value2>
Argument | Description |
---|---|
DestVar | The variable where the result will be stored. |
Value1 | The first value. |
Value2 | The second value. |
None.
BitAnd, BitNot, BitShift, BitOr
[Main]
Title=Math-BitXor Example
Description=Show usage of the Math,BitXor Command
Author=Homes32
[Variables]
[Process]
Math,BitXor,%result%,13,7
// Output Result
Message,"Bitwise XOR:#$x#$x00001101 (13)#$x00000111 (7)#$x--------------#$x00001010 (10)#$x#$xReturn: %result%"