Navigation:  thinBasic language > Operators > Logical >

IsTrue

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns -1 (TRUE) when numeric_expression evaluates as non-zero; otherwise, it returns zero (FALSE).

 

Syntax

 

n = IsTrue(NumericExpression)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

NumericExpression

Number

No

Any numeric expression.

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com