Logical Operators

See Also

Logical operators work with all data types and return a Logical value. The following table lists the logical operators in order of precedence.

Logical Operators

Operator Action Code
( )
Expression groups
cVar AND (cVar2 AND cVAR3)
NOT, !
Logical negative
IF NOT cVarA = cVarB
IF ! nVar1 = nVar2
AND
Logical AND
lVar0 AND lVar9
OR
Logical inclusive OR
lVarX OR lVarY