cDictionary constructor

<< Click to Display Table of Contents >>

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

cDictionary constructor

 

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

 

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

 

Examples