NOT

NOT


NEXT Index Level nuclear tokens
Syntax NOT( logical.expression )
Category BASIC
Type Function
Description negates the effect of the normal outcome of "true" and "false" generated by a conditional expresssion.

Returns the logical inverse of the expression. If the expression evaluates to zero (0), one (1) is returned. If the expression evaluates to any non-zero value, zero is returned.
Options
See Also THEN MOD NE NULL REM Boolean Evaluation IF statements & functions functions = IFR
Example if not(num(response)) then print "not numeric"

If "response" is not numeric, this prints "not numeric".
Warnings
Compatibility D3 7.0 AP R83
NEXT Index Level nuclear tokens