Author Topic: Subvariable Arrays?  (Read 265 times)

Making an array with an extra variable under it? Kinda like this...


Your typical array
MyArray[a,y];


I need an array that will store extra data under the variable a & y

How could this be done?

%a = value1;
%b = value2;

$array[%a, %b] = datatostore;

It is generally a bad idea to store information you need in the name of an array.  The only type of data usually in array names are the ID by which you find the array.