Can this be done faster ?

Mark Wieder mwieder at ahsoftware.net
Fri Jul 21 11:26:55 EDT 2006


John-

Thursday, July 20, 2006, 7:27:12 PM, you wrote:

> put 50 into XX
> put the ticks into timer
> repeat until listXX is empty
>    put line 1 to XX of listXX into listYY
>    delete line 1 to XX of listXX
>    repeat with x = 1 to (number of lines in listYY)
>       doaction to line x of listYY
>    end repeat
> end repeat
> put the ticks - timer

Not sure what you're trying to do here, but you *are* aware that
you're executing "doaction" on a specific line a number of times
depending on how many lines you've already accumulated, right? In
other words, once to line 1, twice to line 2, 10 times to line ten,
etc. What's the purpose of the inner repeat loop?

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list