RAD Studio
ContentsIndex
PreviousUpNext
or_eq, |=

Category 

Alternative Representations of Operators and Tokens, Operators 

Syntax 

Description 

The or_eq operator is an alternative representation of !=(bitwise inclusive OR). 

or_eq tests for logical equivalence or bitwise equality.  

or_eq operates on two values. When the first value or the second value is 1, true is returned. When the values are 0, false is returned.  

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!