Tree_Get

<< Click to Display Table of Contents >>

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

Tree_Get

 

Description

 

Retrieve data associated to sKey in an AVL Tree

 

Syntax

 

sData = Tree_Get(pTree, sKey)

 

Returns

 

Data associated with sKey

 

Parameters

 

Name

Type

Optional

Meaning

pTree

Number

No

Handle of an AVL Tree returned by Tree_New

sKey

String

No

Unique key

 

Remarks

 

Restrictions

 

sKey is case sensitive.

sKey cannot contains nulls

 

See also

 

Examples