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

Tree_Last

Previous pageReturn to chapter overviewNext page

 

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