Navigation:  ThinBASIC Modules > Dictionary > cDictionary Class > cDictionary Methods >

cDictionary constructor

Previous pageReturn to chapter overviewNext page

 

Description

 

Instantiate a cDictionary variable.

 

Syntax

 

MyDictionary = New cDictionary(NumberOfKeys [, KeysToUCase])

 

Returns

 

None.

 

Parameters

 

Name

Type

Optional

Meaning

NumberOfKeys

Numeric

No

Max number of keys.
Please indicate as max number of keys at least double the needed quantity.

KeysToUCase

Numeric

Yes

If %TRUE, all keys will be considered case insensitive otherwise exact comparison will be performed when searching and during storing of key/data pairs

 

Remarks

 

Restrictions

 

See also

 

Examples