Go to the first, previous, next, last section, table of contents.


Boolean Operators

These perform logical operations on the boolean data type or bitwise operations on the numeric data type, but are generally interchangeable. The operator keywords and, or, and xor will logically AND, OR, and exclusive OR their arguments respectively. The not keyword operator wll logically negate its argument.

The operators &, |, and ^ bitwise and, or, and exclusive or their arguments respectively. The ~ operator performs a ones complement on its argument.


Go to the first, previous, next, last section, table of contents.