Tree_First

<< Click to Display Table of Contents >>

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

Tree_First

 

Description

 

Return a pointer to the first node in an AVL Tree

 

Syntax

 

pNode = Tree_First(pTree)

 

Returns

 

Number: a pointer to the first AVL Tree Node

Zero means that there are no nodes

 

Parameters

 

Name

Type

Optional

Meaning

pTree

Number

No

Handle of an AVL Tree returned by Tree_New

 

Remarks

 

Restrictions

 

See also

 

Examples