[TIP] Sorting by ValueList and synchronized sorting

J. Landman Gay jacque at hyperactivesw.com
Tue Jun 17 18:24:31 CDT 2008

Richard Gaskin wrote:

> But I guess I'm stuck on the old (outdated?) notion that functions are 
> evaluated before their result is used in the calling command,

It's still doing that. The function is evaluated first, before the sort 
assigns it a position. The difference here is that "each" is evaluated 
for each element that is being sorted; the function runs once per line.

> I'm certain that you're not crazy,

You may be taking too much for granted here. :)

Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

More information about the use-livecode mailing list