Not

not corresponds to the unary boolean 'not' operator that can also be abbreviated by !.

Syntax

 not EXPR_LOG! EXPR_LOG

Examples

 # Is I different from 1?If not(I = 1)# Here, I is not equal to 1Endif

Description

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 valuenot(EXPR_LOG) value
false (0)true (1)
true (not equal to 0)false (0)

Associated errors

Error codeDescription
10The argument is not a number.

See also

and, or, xor.