Tulamide explained once in a very good way the basics of an array:
[QUOTE=tulamide] [QUOTE=Juryiel] ...what does it buy me over just using a 3D array such that one index is the Object.UID, the second dimension is the variable name, and the third is the value? [/QUOTE]
That's not the way, arrays work. An array is just a line of cells, and you access those cells by using coordinates. Whatever count of coordinates you have, it leads to exactly one cell.
So, to access the data you need to do something like this: var = array(2, 1, 4)
To store a value it is: array(2, 1, 4) = "one cell"
If you want to read the whole thing(but the rest isn't about the array itself):http://www.scirra.com/forum/container-type-functionality-for-families_topic46974.htmlzyblade2011-12-18 03:36:05