Bob Sneidar wrote:

> 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.

Associative arrays are a collection of hashes, and as such have no internal sense of order.

The DataGrid script runs output through the sort command before returning it.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.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