Thanks for the quick response Litro Endemic!
I really mean declare and empty array. As most languages allow, we can declare :
setarray foo;
// wherein when we use getarraysize(foo),
// it return 0 until the next "foo[getarraysize(foo)+1] = bar" then it returns 1.
But thanks for those code snippets! Those will come in handy!
Thanks for the link! I found the functions very interesting and it seems to have almost all that I need for manipulating the array. I will try and figure how to set this up and test it out.
Also, an additional question, can we put an array inside an array? I was thinking of doing something like:
setarray details[0],0,1,1,1,1,0;
setarray rows[0],details;
// when I call rows[0] then it will returns an array that contains 0,1,1,1,1,0