|
|
|||||||
In the script I am currently writing, a linked list would be extremely useful. At the moment, I either need to process data twice to calculate the required array size, or continually redim arrays. Are there any plans for kixtart to provide data structures such as linked lists, and possibly associative arrays? |
||||||||
|
|
|||||||
In most (all?) cases you may use an INI file for associative arrays. I've used them for this in the past, sanitizing keys and data when needed. If your data and keys are simple enough you can use the file directly without any extra coding. Linked lists are also fairly easy implement with an array: Code: Dim $avData[3,x] I'm not saying that linked lists and associative arrays are not a good suggestion - they are an excellent suggestion - but while we wait for them to appear you can use these work-arounds. |
||||||||
|
|
|||||||
If you want associate arrays (Hashes in Perl) you can easily use COM to access VBS dictionary objects. Code:
Just convert the VBS syntax to KiXtart. |