AND
OR
NOT
IMPORTANT: The logic operators can be used with selection set names, processing labels, and filenames.
Restrictions:
The logic operators can only be used on "if" lines of processing tables, and on the "sentence line" of selection sets.
Examples:
Selection Set:
If: not selsetname
Then: 15="O" ; end
Processing Label:
Secure If: @id eq "root" or @id eq "fred"
Then: x="OK" ; end
If: not secure
Then: x="BAD" ; exit("1")
Filename:
Then: lookup invoices k=ky i=a -ng
If: not invoices
Then: show "@There are no records in the invoice file.";end
Operator |
Description |
AND |
The AND operator designates that more than one condition must be met. |
OR |
The OR operator designates that either condition must be met. |
NOT |
The NOT operator designates that the condition must not be TRUE. |