Hello,
Can anyone help me,
I have some arrays within arrays. I want to take an array out of one array and put it in another array. Also i need some way of exporting these changes to a shared object file or a text file, so that i can save the results of these changes.
Thank you.
// from a text file: first load in the 2d array (eg seperated by |), and split it:
my2d_array = myLoadVars.my2d_array.split("|");
// now split the 2d array into my1d_array1, my1d_array2,..
for (i=0; i<my2d_array.length; i++) {
my1d_array[i] = my2d_array[i].split(";");
}
for the saving to a text file you'll need php or asp or what not, try the local object i'ld say. (hmm.. can you save an array in the SOL? i don't know)