Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > DataStructures > Tree AVL >

Tree_Clear

Previous pageReturn to chapter overviewNext page

 

Description

 

Clear (remove) all key/data pairs present into the AVL Tree.

 

Syntax

 

pTree = Tree_Clear(pTree)

 

Returns

 

Number: the same pTree passes as parameter

 

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 (pHash) remain a valid empty AVL Tree with all the actual characteristics but without any node.

 

Restrictions

 

See also

 

Examples