Tree_Exists

<< Click to Display Table of Contents >>

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

Tree_Exists

 

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