not
| Syntax |
not expression !expression
|
| Action |
The logical negation (boolean "not") operator, yields the boolean value true if expression evaluates to false, or false if expression evaluates to true.
|
| Examples |
not file.exists ("myFile") » true
This expression evaluates to true if the file does not exist; if the file does exist, it evaluates to false.
Here we check to see whether or not dialog.confirm returned true. If not, the user pressed Cancel and the return (false) statement is executed. |
| Notes |
There is no difference between the two forms, ! and not.
|
| See Also |
and
|