I have been working with a multidimensional arrays, and tried to search for a feature to loop only thorugh certain dimension of array, while other its dimensions are static.
I have found only how to loop through dimensions in order.
For example I have array:
Code: Select all
la:=[]
la[1,1,1]:=111
la[1,1,2]:=112
la[1,2,1]:=121
la[1,2,2]:=122
la[2,1,1]:=211
la[2,1,2]:=212
la[2,2,1]:=221
la[2,2,2]:=222
Code: Select all
for key, value in la[1,1]
Regards,
Rokas