Sequential Layout of Script-created Objects

Dar Scott dsc at swcp.com
Tue Dec 10 21:25:00 EST 2002


On Tuesday, December 10, 2002, at 07:04 PM, erik hansen wrote:

> i was afraid something like this would happen.
> a recent DeVoto (co-author of The Book) posted
> that x is only calculated once. maybe that lets
> the former go faster.

Maybe the poster was thinking of something like this:

repeat while n < the number of controls of group "grpbuttons"

The "number of controls" function seems to be pretty fast, but there 
might be others not fast and it would be faster to not repeatedly 
count.  An example might be "number of lines" for lots of lines.

Dar Scott




More information about the Use-livecode mailing list