Bob Sneidar wrote: > Repeat for each line x in the keys of array y would seem at a glance > to have to reevaluate the keys of <array> each time through the loop, > wouldn't it? You must mean you get the keys first in a variable and > then use that.
If I understand how the engine treats that, it seems that it gets the keys only once up front, since anything used with "repeat for each" is considered unchangeable during the repeat.
-- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv _______________________________________________ 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