Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Subvariable Arrays?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Subvariable Arrays? (Read 265 times)
tyler0
June 07, 2011, 06:11:51 PM
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?
Ad Bot
Advertisement
Nexus
June 07, 2011, 10:33:53 PM
%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.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Subvariable Arrays?