wow... I cant believe what an idiot I am for reading the question wrong

I'll leave the above code for anyone else, but you should be able to store data if it's only numerical values like any other variable...
// store 50 numbers
var arrayVar[50];
// it's always a good idea to fill the array before using it.
var resetArray(var tempArray, var amount) {
var i;
for(i=0; i<amount; i++) {
tempArray[i] = 0;
}
return(tempArray);
}
// again these bottom things should be done WITHIN a function, not global.
// call the function to reset the array
arrayVar = resetArray(arrayVar, 50);
// access them however you want
arrayVar[0] = 2347895;
Also untested, but am more confident that should work

regards,