Navigation:  ThinBASIC Language > thinBasic Core Engine > DataStructures > AVL Tree >

Tree_Validate

Previous pageReturn to chapter overviewNext page

 

Description

 

Determine if a pTree pointer is a valid AVL Tree pointer

 

Syntax

 

n = Tree_Validate(pTree)

 

Returns

 

%TRUE or %FALSE

 

Parameters

 

Name

Type

Optional

Meaning

pTree

Number

No

Handle of an AVL Tree returned by Tree_New

 

Remarks

 

Sometime it can be necessary to determine at run-time if a pointer is a valid AVL Tree or not.

 

Restrictions

 

See also

 

Examples