Delete an Array Entry?

Mark Wieder mwieder at ahsoftware.net
Fri Mar 2 10:36:57 EST 2007


Dave-

Friday, March 2, 2007, 12:21:35 AM, you wrote:

> Interestingly (perhaps!!) is that ActionScript 3 (don't know about
> earlier versions) treats associative arrays and objects as equivalent
> things. From their docs: "Associative arrays are unordered  
> collections of key and value pairs. " You don't write their docs, do
> you? :-) They can be instantiated by declaring either an array or an
> object.

Well, if they agree with me they *must* be right... <g>

> It also allows the same syntax to refer to elements in standard  
> (indexed?) arrays and objects (associative arrays). So myArray[4] is
> an index reference for an array, and myObject[someValue] can be used
> as a key reference for an object / associative array. So I guess  
> someone coming from that environment might be understandably confused
> by Rev's behaviour.

I look forward to the day when we have true numeric arrays in rev for
speed as well as the associative ones, and then we can benefit from
the same sort of confusion over ordered vs unordered elements.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list