Tree_Clone

<< Click to Display Table of Contents >>

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

Tree_Clone

 

Description

 

Create a new AVL Tree cloning (copying) an existing AVL Tree and all its key/data pairs.

 

Syntax

 

pClonedTree = Tree_Clone(pTree)

 

Returns

 

Number: a new AVL Tree

 

Parameters

 

Name

Type

Optional

Meaning

pTree

Number

No

Handle of an AVL Tree returned by Tree_New

 

Remarks

 

Restrictions

 

See also

 

Examples