Navigation:  thinBasic language > Operators > Logical >

NOT

Previous pageReturn to chapter overviewNext page

 

Description

 

Used to perform logical negation in expressions.

 

Syntax

 

result = NOT expression

 

The NOT operator syntax has these parts:

 

PartDescription
resultAny numeric variable.
expressionAny 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