Collapse (?) An Array?

Dave Cragg dave.cragg at lacscentre.co.uk
Thu Sep 1 09:27:44 EDT 2011


On 1 Sep 2011, at 14:16, Dave Cragg wrote:

> It seems using any key on an existing array will produce an empty value. (I don't know if that's how it should behave. I guess the alternative would be throwing an error.)

Update: it seems the array doesn't even need to exist. This also produces the same result:

put "A" into theArray[1]
put "B" into theArray[2]
put "C" into theArray[3]
delete variable theArray[2]
put theArray[1] &"*"&otherArray[7] &"*"& theArray[3]


Cheers
Dave






More information about the use-livecode mailing list