Dictionary_Exists

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Obsolete > Dictionary >

Dictionary_Exists

 

Description

 

Search inside a dictionary for a key and if found returns a pointer to data. If key is not found returns %FALSE.

 

Syntax

 

pData = Dictionary_Exists(pDictionary, KeyName)

 

Returns

 

Number: data pointer or %FALSE

 

Parameters

 

Name

Type

Optional

Meaning

pDictionary

Numeric

No

Pointer to a dictionary.

KeyName

String

No

Name of the key

 

Remarks

 

To retrieve length of stored data use StrPtrLen function with DWord value stored at address returned by Dictionary_Exists.

 

Restrictions

 

See also

 

This functionality has been made obsolete by newer, better optimized hash table available directly in core instead.

 

Examples