RAD Studio |  |

xor_eq, ^=

Category

Alternative Representations of Operators and Tokens, Operators

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 ProjectOptions dialog box).

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!