Previous Topic: Explanation of FormatNext Topic: Format of ELSE Statement


Rules for AND OR Statements

AND OR statements must be immediately preceded by an IF, AND, or OR statement. No other statements can lie between an IF and an AND or OR statement.

When both AND and OR statements are specified, the AND conditions are evaluated before the OR conditions. For example:

@  IF A = B;  AND C = D;  OR E = F

is evaluated as

IF (A = B AND C = D) OR E = F