2021-07-13 08:44 AM - last edited on 2021-09-14 09:00 AM by Noemi Balogh
DIM myArray[][] myArray[1][1] = 500 myArray[1][2] = 510 myArray[2][1] = 600 myArray[2][2] = 610 myArray[2][3] = 620 myArray[3][1] = 700 myArray[3][2] = 710 myArray[3][3] = 720 myArray[3][4] = 730VARDIM1(myArray[1])
2021-07-14 11:16 AM
2021-07-14 12:09 PM
2021-07-28 03:18 PM
dict d dim EMPTYARRAY[] d.array[1].subarray = EMPTYARRAY d.array[2].subarray = EMPTYARRAY d.array[1].subarray[1] = 11 d.array[2].subarray[1] = 21 d.array[2].subarray[2] = 22 print d, vardim1(d.array[1].subarray), vardim1(d.array[2].subarray)
dushyant wrote:
In that case, multi-dim arrays might not be helpful for what I am trying to do. Thanks guys for the help.
Can dictionaries be looped through?