Mike,
amembers() always returns the array sorted by the name of the item.
>I have a piece of code that is trying to open view that are not already open in the data environment. So, I use amembers to get the list of views. I put the views into the DE very carefully so their sequence should have been....
>
>1, 2, 3, 4, 5, 6, 7, 8, 9, 10
>
>instead, the sequence resulting from amembers is ...
>
>1, 10, 2, 3, 4, 5, 6, 7, 8, 9
>
>arrrrgh, to say the least. Is this a bug? If amembers read the scx's data environment methods directly, it would have had to sort the items. If that sort is not needed, amembers should become faster when the sort is removed, no?