Home > Expression Operators > Logical Operators > #NOT

#NOT

Returns 1 if LogicalValue is 0; returns 0 if LogicalValue is 1.

Syntax:

#NOT LogicalValue

LogicalValue must be 0 or 1.

Examples:

#NOT 1 equals 0

#NOT 0 equals 1

#NOT [(DIVISION = 3) #AND (STATUS = 1)]

Related Operators:

#AND

#OR