Not


Operator Not


Used to perform a logical negation on an expression.


Syntax result = Not expression


Remarks

The following table illustrates how result is determined:


If expression is Then result is


True False

False True


See Also:

And Or Operators


Example Script


NUMBER x

STRING s


FOPEN(x,"C:\TEMP\TST.TXT")


WHILE NOT FEOF(x) ' This will run until FEOF return 0 (false)

s = FGETS(x)

PRINT s

WEND