A lot of fashion languages have building associative array support (aslo hashtable, dictionary, or map, etc. ), but AutoIt not. However, there are at least two solutions. One is using Scripting.Dictionary object. It is the fast way and very easy to use, but both keys and values can only be string. Another solution is to store key/value pairs in array, for example Nutster 's AssocArrays UDF. It is workable, but very slow. I tried using another way to implement an associative array: storing the