Tree_Free

<< Click to Display Table of Contents >>

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

Tree_Free

 

Description

 

Free a previously allocated AVL Tree and return zero

 

Syntax

 

n = Tree_Free(pTree)

 

Returns

 

Zero

 

Parameters

 

Name

Type

Optional

Meaning

pTree

Number

No

Handle of an AVL Tree returned by Tree_New

 

Remarks

 

After this function execution, AVL Tree handle (pTree) is not anymore a valid AVL Tree.

 

Restrictions

 

See also

 

Examples