Hi
How to set two dimensional array? Have played but not sure how to define it.
e.g.
<array name="1" >
<array name="1" value="11" />
<array name="2" value="12" />
<array name="3" value="13" />
</array >
<array name="2" >
<array name="1" value="21" />
<array name="2" value="22" />
<array name="3" value="23" />
</array >
<array name="3" >
<array name="1" value="31" />
<array name="2" value="32" />
<array name="3" value="33" />
</array >
When I want to get value I use: trace(array[2].array[3].value);
What if I want to use it as simple two dimensional array like:
trace(array[2].array[3]);
or
trace(array[2][3]);
How to define it?
Initialization with for loop works fine:
for(set(i,1), i LE 3, inc(i),
for(set(j,1), j LE 3, inc(j),
set(array[get(i)][get(j)],999);
);
);
but how to define this type of array with no .value
Any thoughts?