JavaScript <-> FreeBASIC | Bitwise xor
JavaScript Used keywords: ^
^
Description
par1 ^ par2
Input
- par1 - Any integer
- par2 - Any integer
Output
- Result - Integers
Examples
JavaScript
Bitwise xor the possible of use:x = 123 ^ 25; // x = 98
y = x ^ 25; // y = 123
z = x ^ 123; // z = 25
JavaScript
Even one example in what situations we can use the operation bitwise xor:i ^ j
0xAC ^ k
631 ^ (0xF0 ^ k)
.
FreeBASIC Used keywords: xor
xor
Description
par1 xor par2
Input
- par1 - Any integer
- par2 - Any integer
Output
- Result - Integers
Examples
FreeBASIC
Bitwise xor the possible of use:x = 123 xor 25 ' x = 98
y = x xor 25 ' y = 123
z = x xor 123 ' z = 25
FreeBASIC
Even one example in what situations we can use the operation bitwise xor:i xor j
&HAC xor k
631 xor (&HF0 xor k)
You can find it in the following collections: bitwise operators
Bitwise xor in another programming language:
Differences to: