PC Logo Wiki
Advertisement

Syntax

NOT object1

Explanation

NOT outputs TRUE if its input is false; otherwise, it outputs FALSE.

Examples

? NOT "FALSE

Result: TRUE

? NOT "TRUE

Result: FALSE

? NOT NUMBER? "A

Result: TRUE

? IF NOT (3 = 3) THEN PRINT "YES

?

Advertisement