Arrays: new and old keys, i

Ken Ray kray at sonsothunder.com
Sun Sep 14 01:25:58 EDT 2008


> That would do me - except the most useful would be the ability to get the
> full ordered index.
> 
> put the ordered keys of theDataA
> 
> Because you want to things like:
> 
> repeat for each key sortedKey in theDataA

I've been watching this thread and I have to ask:

"What benefit is it to the Rev developer (not the engine) to have the keys
NOT sorted?"

I mean, I understand why the *engine* may want to keep the keys in a special
order, but every time I work with the keys of an array, either (a) I don't
care what order they're in, or (b) I really want them sorted. Personally,
I've never WANTED to have the keys in an unsorted order...

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