xor_eq, ^=

From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Alternative Representations of Tokens (C++), Operators (C++)

Syntax

Description

The xor_eq operator is an alternative representation of the ^= operator (bitwise XOR assignment)..

True is returned if one number on the left side of an equation is the same as another number on the right side, such as 10*5!=10*2.

False is returned even if 6*3=9*2.

In order to use the xor operator, you need to check the Enable new operator names option (the -VM compiler switch, available on the Compatibility page of the Project > Options dialog box).