Two dimension array / list in director 8.5

Is it possible to create a two or dynamic dimension list/array in director 8.5 ?
please slove this question with an example or code.

Thanks

Max
MaxToAsked:
Who is Participating?
 
MediaMacrosConnect With a Mentor Commented:
Sure. You can do any number of levels.  Here is a simple list example...

l1 = [1,2,3,4,5]
l2 = [6,7,8,9,10]

l = [l1, l2]

put l[2][2]
--7

You can also do this with property lists...

myList = [:]
myList[#colors] = ["red", "blue", "green"]
myList[#numbers] = [1,2,3]

put myList[#colors][2]
--"blue"
0
All Courses

From novice to tech pro — start learning today.