Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Two dimension array / list in director 8.5

Posted on 2004-04-06
1
Medium Priority
?
232 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 150 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
Suggested Courses

926 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