BitXor

Bitwise XOR operation - toggles bits where values differ

Keywords

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Bitwise XOR operation - toggles bits where values differ

Technical Exegesis...

Bitwise XOR operation - toggles bits where values differ. Performs XOR (exclusive OR) on each bit position. Result bit is 1 if the corresponding input bits are different, 0 if they're the same. Syntax is value1 BitXor value2. Used for toggling bits, simple encryption, or detecting differences. XORing a value twice returns the original value.

Example

Example.bam
; No example implemented yet