BXOR operator
Synopsis
This operator
performs a bitwise XOR operation.
Variations
Number BXOR Number2
Performs a bitwise XOR
operation.
Details |
Examples |
Details and examples
Parameters
Number
Specifies the first 32-bit integer.
Supported types: Numeric.
Number2
Specifies the second 32-bit integer.
Supported types: Numeric.
Returns
Examples
| 1. |
The following example returns 3. Note that 1 = 0b01, 2 = 0b10,
and 3 = 0b11.
2 BXOR
1
|
| 2. |
The following example returns 0. Note that 0 = 0b00 and 2 =
0b10.
2 BXOR
2
|