^^this guy is using javascript, and yeah i am not sure what you are doing, use c# maybe, in python with no matplotlib you also have to use lists within lists, in c# you have 2d arrays for example:
int[,] Array = new int[10, 10];
consider c# handles data better is my 2 cents
in my code i do have one use for this, storing the whole array as a string, you can simply iterate the array adding commas, then you can load it back in by using the split function
you can test the size of the array with Array.GetLength(0) and Array.GetLength(1), i personally use a for loop rather than the foreach structure as i am language agnostic:
string sString = “”;
for (x = 0; x < Array.GetLength(0); x++)
{
for (y = 0; y < Array.GetLength(1); y++)
sString += Array[x,y] + “,”
}
Debug.Log(sString)
would result in the array outputted in the form 1,4,5,6,7,3,5, etc
good luck, i am not sure this is any use to you but that’s how it’d go in c# and i started thinking about it
Erm, I said don’t use the Array class, use a 2D array. As in:
var myArray : int[10, 3];
The Array class is slow and untyped, so don’t use it. Programming has very specific terminology: you’ll find you make much better progress if you learn it. Hopefully that’s helpful enough for you.
I was switching tabs between your code here and from another post of yours from two years ago saying not to write exactly what you wrote above, hehe. Had me confused for a while.