On May 22, 2013, at 4:35 PM, Jacques Hausser wrote: > I think that you cannot sort by random(999999) because the argument of the > sort (the sortkey as it is called in the dictionary) must by something like > "item 2 of each" and not a number out from a random generator.
I'll have to run tests to refresh my memory but I think the sort expression MAY use 'each' but is not required to. It can even use it more than once. I have passed each to a function I wrote in the past. I think. Dar _______________________________________________ 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