How to use an array to solve the following...

Geoff Canyon Rev gcanyon+rev at gmail.com
Tue Feb 21 17:00:43 EST 2012


As Richard said, the engine is smart enough to avoid this pitfall. So no,
it's perfectly fine to say

repeat for each line x in the keys of array y

even if the list of keys is large.

On Tue, Feb 21, 2012 at 12:03 PM, Bob Sneidar <bobs at twft.com> 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.



More information about the use-livecode mailing list