Please enable JavaScript to view this site.

 

Navigation: Macros > Macro Language > Operators

xor (mutually exclusive "or")

Scroll Prev Up Next More

The xor operator takes 2 Boolean expressions and returns true if only one of the 2 expression is true, and false otherwise.

bIsLife = bCanHaveYourCake xor bCanEatYourCake // not both

The xor operator returns false when both expressions are true. Use the or operator when either or both expressions may be true.

 


Topic 122100, last updated on 08-Oct-2026