Conditional Operators in Rule Assembly Language

Conditional logic operators are shown in the following table.

Operator Syntax Properties

Logical conditional

if (A, B, C)

If A then B, else C. If C is not specified, it defaults to true (1).

Numeric conditional

?(A, B, C)

If A then B, else C. If C is not specified, it defaults to false (0). This means the expression returns false if A is false and C is not specified. Rarely used.