Category
Alternative Representations of Operators and Tokens, Operators
Syntax
Description
The bitor operator is an alternative representation of the |~operator ( bitwise OR).
bitor takes integer or enumeration operands. bitor may pass two or more arguments. These arguments must be character or numeric.
When coded as a keyword, bitor can only pass two arguments. In either case, the result type is the same as the arguments: (1) unsigned if all arguments are unsigned, or (2) an integer.
In order to use the bitor 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!
|