How to use an array to solve the following...
ambassador at fourthworld.com
Tue Feb 21 14:34:19 CST 2012
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.
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
More information about the use-livecode