Tree_Last

<< Click to Display Table of Contents >>

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

Tree_Last

 

Description

 

Return a pointer to the last node in an AVL Tree

 

Syntax

 

pNode = Tree_Last(pTree)

 

Returns

 

Number: a pointer to the last 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