Solved

Two dimension array / list in director 8.5

Posted on 2004-04-06
1
224 Views
Last Modified: 2013-12-24
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
0
Comment
Question by:MaxTo
1 Comment
 
LVL 20

Accepted Solution

by:
MediaMacros earned 50 total points
ID: 10774589
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question