Dictionary

Class Object,Dictionary Object,Err Object,FileSystemObject Object,Match Object,Matches Collection,RegExp Object,SubMatches Collection Home home | Other Resources other resources | Advertise with us advertise | Link to us link to us | Contact us contact | Bookmark Us!
Google
 
Where can I find good Windows Web Hosting to host my VBScript Site?
You can find good Windows Hosting which support VBScript, ASP, ASP.Net,VisualStudio.Net and MSSQL at a very reasonable low monthly fee at EasyCGI.com and DiscountASP.Net

Dictionary

Object that stores data key, item pairs.

Remarks

A Dictionary object is the equivalent of a PERL associative array. Items, which can be any form of data, are stored in the array. Each item is associated with a unique key. The key is used to retrieve an individual item and is usually a integer or a string, but can be anything except an array.

The following code illustrates how to create a Dictionary object:

Dim d   ' Create a variable.
Set d = CreateObject("<>Scripting.Dictionary")
d.Add "a", "Athens"   ' Add some keys and items.
d.Add "b", "Belgrade"
d.Add "c", "Cairo"
...

VBScriptOnline.com - Class Object,Dictionary Object,Err Object,FileSystemObject Object,Match Object,Matches Collection,RegExp Object,SubMatches Collection