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

Tree_Get

Previous pageReturn to chapter overviewNext page

 

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