IsFalse

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Operators > Logical >

IsFalse

 

Description

 

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

 

Syntax

 

n = IsFalse(NumericExpression)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

NumericExpression

Number

No

Any numeric expression.

 

Remarks

Truth table

operator

Expression

Result

IsTrue

= 0

0

IsTrue

<> 0

-1

IsFalse

= 0

-1

IsFalse

<> 0

0

Restrictions

 

See also

 

IsTrue

 

Examples