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

Tree_Exists

Previous pageReturn to chapter overviewNext page

 

Description

 

Check if sKey exists inside an AVL Tree

 

Syntax

 

n = Tree_Exists(pTree, sKey)

 

Returns

 

%TRUE / %FALSE

 

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