IsNull

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > String functions >

IsNull

 

Description

 

Returns %TRUE if String Expression is equal to an empty string

%FALSE otherwise.

 

Syntax

 

n = IsNull(StringExpression)

 

Returns

 

Number: %TRUE or %FALSE

 

Parameters

 

Name

Type

Optional

Meaning

StringExpression

String

No

String to be checked

 

Remarks

 

This function is like: StringExpression = ""

 

Added to make source code more expressive and easy to learn

 

Restrictions

 

See also

 

Examples

 

Script example