NOT()

NOT(), NOTS()

Top  Previous  Next

 

The NOT() function returns the logical inverse of its argument. The NOTS() function is similar to NOT() but operates on successive elements of a dynamic array, returning a similarly structured dynamic array of results.

 

 

Format

 

NOT(expr)

 

where

 

exprevaluates to a Boolean value

 

 

The NOT() function returns the logical inverse of expr. If expr is False (including a null string which equates to zero), the NOT() function returns True. If expr is True, the NOT() function returns False.

 

 

Example

 

IF NOT(NUM(S)) THEN GOTO ERROR

 

This statement causes the program to jump to label ERROR if S is not numeric.

 

 

See also:

ANDS(), EQS(), GES(), GTS(), IFS(), LES(), LTS(), NES(), ORS(), REUSE()