Sequential Layout of Script-created Objects

Dar Scott dsc at swcp.com
Mon Dec 9 20:12:03 EST 2002


On Monday, December 9, 2002, at 04:10 PM, erik hansen wrote:

>> repeat with x = the number of controls of group
>> "grpButtons" of stack down to 1
> or
> put (the number of controls of group "grpButtons"
> of stack) into tot
> repeat with x = tot down to 1
> a little faster and you can see the total.
> from the Winkler book.

On my system the first takes 30 microseconds and the second takes about 
100.  I get similar results if I include the entire loop in the timing.

Maybe this applies to an earlier 'card or the book example is confusing.

Dar Scott




More information about the use-livecode mailing list