NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

12.7 Bitwise operators

The BitAnd, BitOr and BitXor operators are called the bitwise operators and perform the specified bit operation on the two operands. No overflows are possible from these operations. The bitwise operators are specified on Byte, Short, Integer, Long and all enumerated types. The enumerated type operators do the bitwise operation on the underlying type of the enumerated type, but the return value is the enumerated type.

BitwiseOperatorExpression ::=
 Expression BitAnd Expression |
 Expression BitOr Expression |
 Expression BitXor Expression