Navigation:  thinBasic language > Script structure > Conditional parsing statements >

#DEF

Previous pageReturn to chapter overviewNext page

 

Description

 

Check if a variable exists with the given name.

 

Syntax

 

n = #DEF(VariableName)

n = %DEF(VariableName)

 

Returns

 

Number: %TRUE or %FALSE

 

Parameters

 

Name

Type

Optional

Meaning

VariableName

Name

No

A possibly variable name to check.

 

Remarks

 

#DEF is an alias of Variable_Exists function.

 

Restrictions

 

See also

 

Examples

 

 

 

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