Navigation: thinBasic 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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |