Previous Topic: THEN, ELSE and ALWAYS

Next Topic: MOVE Instructions


Multiple Conditions

An IF statement can contain up to 60 conditional tests connected by AND or OR.

AND

The THEN instruction is executed only when the conditions immediately preceding and immediately following the AND are satisfied.

OR

The THEN instruction is executed when a condition on either side of the OR is satisfied.

One level of parentheses can be used to group related conditions.