Solved

Two dimension array / list in director 8.5

Posted on 2004-04-06
1
223 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now