Solved

Two dimension array / list in director 8.5

Posted on 2004-04-06
1
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
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…

739 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