Operators (conditional)
Use conditional operator functions to link two conditional expressions.
To instruct Longview to carry out certain instructions, use a conditional operator:
Conditional operator | Description |
---|---|
AND | When each of several conditions must be true. |
OR | When one of several conditions must be true. |
You can use parentheses to change or change the order in which conditions are evaluated; for example:
IF (Cash1 GT 0 OR Cash2 LT 100) AND (Cash3 LT 0 OR Cash4 NE 100)
where:
- Each Condition is a relational expression containing the EQ, GE, GT, NE, LT, or LE functions, or another expression containing the And or Or functions. For information on relational operators, see Operators (relational).
- Operator is a conditional operator. Select one of the following:
Value
Description
AND
To find an expression that matches both conditions.
OR
To find an expression that matches either condition.