Navigation:  thinBasic Modules > Dictionary >

Dictionary_Exists

Previous pageReturn to chapter overviewNext page

 

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 passing pointer returned by Dictionary_Exists

 

Restrictions

 

See also

 

Examples

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com