repeat question

jbv jbv.silences at club-internet.fr
Sun Jan 11 10:47:26 EST 2009


Hi list,

In the following loops :

    repeat for each line j in myVar
        repeat for each word w in last item of j
        end repeat
    end repeat

is "last item of j" evaluated every time the 'repeat for each word w"
loop runs ?

I'm asking, because when trying the following :

    repeat for each line j in myVar
        get last item of j
        repeat for each word w in it
        end repeat
    end repeat

it gets about 20% faster...

Thanks,
JB




More information about the use-livecode mailing list