Someone said, probably Mark, that numbered key arrays beginning with 1 will 
always return their keys sorted numerically. I always wondered why almost every 
other array seemed to scramble to order of it's keys, but datagrid arrays never 
did. 

Bob S


> On Aug 7, 2018, at 14:31 , Mark Wieder via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> On 08/07/2018 02:21 PM, Mark Waddingham via use-livecode wrote:
>> However, the engine treats arrays which have all integer (string) keys 
>> starting at one and are dense (i.e. the number of elements == max(all keys)) 
>> from ones that aren't.
> 
> Not sure how to interpret that. If I create
> 
> repeat with i=1 to 10
>  put i into tArray[i]
> end repeat
> 
> to make a 'special' array and then
> delete variable tArray[3]
> 
> does that take it out of the 'special' category?
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to