A complex condition is formed by combining simple conditions, combined conditions, or complex conditions with logical operators, or negating those conditions with logical negation.

Each logical operator must be preceded and followed by a space. The following table shows the logical operators and their meanings.

- Arithmetic operations
- Simple conditions
- NOT
- AND
- OR

Note : Parentheses can be used for alter precedence.

The truth value of a complex condition (whether parenthesized or not) is the truth value that results from the interaction of all the stated logical operators on either of the following:

- The individual truth values of simple conditions.
- The intermediate truth values of conditions logically combined or logically negated.

A complex condition can be either of the following:

- A negated simple condition.
- A combined condition (which can be negated).

## No comments:

## Post a comment