in reply to Re: Array of arrays
in thread Array of arrays
Thank you both for the responses. I still get an error (following the advice in the first response). When I do, for instance:
I get the following error:print ("1st: $array1[0]"); print ("2nd: $array1[1]"); print ("3rd: $array1[2]"); print ("4th: $array1[3]"); print ("5th: $array1[4]"); print ("6th: $array1[5]"); print ("7th: $array1[6]"); print ("8th: $array1[7]"); print ("9th: $array1[8]"); print ("10th: $array1[9]"); print ("11th: $array1[10]"); print ("12th: $array1[11]");
The strange thing is I have 9 arrays (array1, array2, ..., array9) in my array of arrays. But even when I am only calling array1 (which should have ~200 indices), it seems to be considering each array in the array of arrays as simply an index in the first of its arrays??1st: ARRAY(0x7fd4bb012010) 2nd: ARRAY(0x7fd4bb02f768) 3rd: ARRAY(0x7fd4bb0120a0) 4th: ARRAY(0x7fd4bb012028) 5th: ARRAY(0x7fd4bb012070) 6th: ARRAY(0x7fd4bb02f648) 7th: ARRAY(0x7fd4bb045e80) 8th: ARRAY(0x7fd4bb0462e8) 9th: 10th: 11th: 12th : Use of uninitialized value $array1[8] in concatenation (.) or string Use of uninitialized value $array1[9] in concatenation (.) or string Use of uninitialized value $array1[10] in concatenation (.) or string Use of uninitialized value $array1[11] in concatenation (.) or string
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Array of arrays
by dbotham (Initiate) on Jul 19, 2013 at 05:25 UTC | |
|
Re^3: Array of arrays
by 2teez (Vicar) on Jul 19, 2013 at 03:43 UTC | |
|
Re^3: Array of arrays
by Laurent_R (Canon) on Jul 19, 2013 at 18:00 UTC |