If you want associate arrays (Hashes in Perl) you can easily use COM to access VBS dictionary objects.

Code:

Object that stores data key, item pairs.

Remarks
A Dictionary object is the equivalent of a PERL associative array. Items can be any form of data, and 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:

[VBScript]
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"
...
Methods
Add Method (Dictionary) | Exists Method | Items Method | Keys Method | Remove Method | RemoveAll Method

Properties
Count Property | Item Property | Key Property

See Also
FileSystemObject Object | TextStream Object



Just convert the VBS syntax to KiXtart.
_________________________
Home page: http://www.kixhelp.com/hb/