Hi, I'm wondering if it's possible to implement an array inside another array, or hash, and be able to access an element of the sub array (without making attribute and objects.)
Like this:
my_array[0]=[1,2,3,4]
and be able to, for example, access the array ID# 1 of the sub array [1,2,3,4] which should be 2.
Of course, my_arrau[0[1]] do not work.. I tried many things, still dont work.
I was just wondering if it was possible a way or another.
(note: I want to make multiple list of string, and be able to access the list I want, and then the string I want on that list, without making a single variable per string...)
Like this:
my_array[0]=[1,2,3,4]
and be able to, for example, access the array ID# 1 of the sub array [1,2,3,4] which should be 2.
Of course, my_arrau[0[1]] do not work.. I tried many things, still dont work.
I was just wondering if it was possible a way or another.
(note: I want to make multiple list of string, and be able to access the list I want, and then the string I want on that list, without making a single variable per string...)