Size of array

Ken Ray kray at sonsothunder.com
Mon Nov 19 01:04:42 EST 2007


On Mon, 19 Nov 2007 00:35:24 -0500, Troy Rollins wrote:

> Ken, I notice that the article, while correct, isn't actually 
> representative of how arrays are *actually* used in Director.

> While constructs like "getAt(getAt(myList,2),1)" would in fact work, 
> I have *never* seen anyone do that. Why would they?
> 
> They would instead do "myList[2][1]", which delivers the same 
> results, and is obviously a lot more clear in terms of targeting data.

Thanks for that... the article was written three years ago, and quite 
frankly I can't remember if you could still refer to arrays that way 
without getAt() before MX 2004...

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/



More information about the Use-livecode mailing list