RAD Studio
ContentsIndex
PreviousUpNext
bitand, &

Category 

Alternative Representations of Operators and Tokens, Operators 

Syntax 

Description 

The bitand operator is an alternative representation of the &operator (bitwise AND). 

The bitwise AND operator compares each bit of the first operand to the corresponding bit of the second operand When both bits are 1, the corresponding result bit is set to 1. Otherwise, the corresponding result bit is set to 0. 

In order to use the bitand operator, you need to check the Enable new operator names option (the -Vn 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!