Not
not corresponds to the unary boolean 'not' operator that can also be abbreviated by !.
not EXPR_LOG
! EXPR_LOG
EXPR_LOG is an expression that returns a numeric value (considered as false if zero; otherwise, true). # Is I different from 1?
If not(I = 1)
# Here, I is not equal to 1
Endif
not returns a boolean value (1=true, 0=false) depending on an expression that has a true (not zero) value or false (zero value) depending on the corresponding table:
| EXPR_LOG value | not(EXPR_LOG) value |
|---|---|
| false (0) | true (1) |
| true (not equal to 0) | false (0) |
| Error code | Description |
|---|---|
| 10 | The argument is not a number. |