More groups

Ken Norris (dialup) pixelbird at interisland.net
Thu Feb 27 18:26:00 EST 2003


**********
> Date: Fri, 28 Feb 2003 00:02:18 +0100
> Subject: Re: More groups
> From: Klaus Major <k_major at os.surf2000.de>

> supposed you have a list (field or var) of elements you want to group
> like:
> 
> field 3
> field 2
> button 2
> button 3
> ...
> 
> Then you can script (i have a field here):
> 
> on mouseUp
> repeat for each line l in fld 1
> put l && "and " after mylist_to_group
> end repeat
> delete word -1 of mylist_to_group
> do "group" && mylist_to_group
> ## do what you want to -> group -1
> ## :-)
> end mouseUp
> 
> Tested and works :-)
> 
> Hope that helps...
----------
Thanks Klaus,

I wish I could tell what's happening, though. I don't recognize the actions
of the syntax.

Ken N.




More information about the use-livecode mailing list