Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |
Note
The Not Equal operator ( # ) can be used to perform XOR comparison (such as lVarX # lVarY).