Retro Rocket OS
BASIC-Powered Operating System
Loading...
Searching...
No Matches
BITEOR Function
X = BITEOR(a, b)

Computes the bitwise exclusive OR (XOR) of two integers.
In BBC BASIC this operator was named EOR.


How to read it

  • Returns bits set when exactly one of a or b has the bit set.

Examples

PRINT BITEOR(&6, &3)

This example produces 5.


Notes

  • Operates on 64-bit integers.

See also:
BITOR · BITAND · BITXNOR