This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Table of logical binary operators for use with logical expressions
Operator |
Description |
|---|---|
& AND |
The result is TRUE if both operands are TRUE . If either operand is an ERROR then the result is an ERROR . If either is otherwise missing or not TRUE then the result is false. |
| OR |
If either operand is an ERROR then the result is an ERROR . Otherwise, if either operand is TRUE then the result is TRUE . |
Table of logical unary operators for use with logical expressions
Operator |
Description |
|---|---|
! NOT |
If the operand is an ERROR then the result is an ERROR . Otherwise, if the operand is TRUE then the result is FALSE and if the operand is FALSE the result is TRUE. |
UNLESS |
Equivalent to NOT. For example UNLESS Q1=1 is equivalent to NOT Q1=1. |
|
See Also |