1.2.1 Using Logical Operators

Four standard logical operators are available for use: NOT, AND, OR and XOR. The following table lists the operators and their order of precedence, from highest to lowest.

Table 1-2. Logical Operators
OperatorExamplesDescriptionPrecedence
!!ANOT1
&A & BAND2
#A # BOR3
$A $ BXOR4