Category
Alternative Representations of Operators and Tokens, Operators
Syntax
Description
The not_eq operator is an alternative representation of != (bitwise inequality). It tests for logical inequivalence.
not_eq compares two expressions to determine whether or not they are the same.
Therefore, 7 != 8 returns true, while 7 != 7 returns false. The same is true for any expression such as Smith != Smith. which returns false.
In order to use the not_eq 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!
|