NOT
|
<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > Operators > Logical > NOT |
Description
Used to perform logical negation in expressions.
Syntax
result = NOT expression
The NOT operator syntax has these parts:
| Part | Description |
| result | Any numeric variable. |
| expression | Any expression. |
Returns
Number
Remarks
The following table illustrates how result is determined:
If expression is |
The result is |
False |
True |
True |
False |
Restrictions
See also
Examples