ObjectList as a variable won't go?

Jim Ault jimaultwins at yahoo.com
Mon Jun 21 15:50:47 EDT 2010


Thanks, Klaus, good work :-)

Now I can finally remember the programming technique I used 4 years  
ago, that did not include a DO command !
As I get older, I get slower and fuzzier.

i would add the following line before the loop depending on the  
programmer's intent.

On Jun 21, 2010, at 11:52 AM, Klaus on-rev wrote:

> Hi all,
>
> hm, looks like I missed the explanation why "DO" has to be involved?!
>
> Anyway, I ususally do this:
>
> on mouseUp
      select empty -- reset all objects to selected = false
>  repeat with i = 1 to the number of groups of group "workarea"
>    set the SELECTED of grp i of grp "workarea" to TRUE
>  end repeat
> end mouseUp
>
> Et voila, all objects/groups selected.

Jim Ault
Las Vegas






More information about the use-livecode mailing list