Not   

Definition:

Logical operator NOT to test a condition to be false.

Parameter Description:


None.

Command Description:

The NOT operator is used to determine if a condition is FALSE instead of TRUE. This is frequently used in WHILE loops and IF statements to check for the NON-EXISTANCE of an event or value. We use NOT frequently in our examples, inside WHILE loops to test if the ESC key has been pressed.

Example:

; NOT example

; Loop until they press ESC
While Not KeyHit(1) ; As long as ESC isn't pressed ...
Print "Press ESC to quit!"
Wend

Index