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 numeric value

 

 

The NOT() function returns the logical inverse of expr. If expr is zero (or a null string which equates to zero), the NOT() function returns true (1). If expr is non-zero, the NOT() function returns false (0).

 

 

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()