Tree_Validate

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Data Structures > AVL Tree >

Tree_Validate

 

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