ObjectList as a variable won't go?

Jim Ault jimaultwins at yahoo.com
Mon Jun 21 08:03:10 CDT 2010


You need to look at the list you are creating,
compare it to the dictionary example (the Select command),
and then fix you code to generate a valid string.
You should not have to use the 'DO' command..

There is no reason to expect it to work as you have written it.

On Jun 21, 2010, at 12:43 AM, Michael Kristensen wrote:

> Hi there
>
> ObjectList is used in cunjunction wuth GROUP and SELECT.
>
> But objectList wont go as a variable.
>
> Hee's what I have:
>
> on mouseUp
>   put number of grps of grp Workarea into X
>
>   repeat with i = 1 to X
>      put "grp" &&  ("GP" & i) && "and " after oList
>   end repeat
>
>   delete last word of oList
>
>   select oList
> end mouseUp
>
> This gives a chunck error.
>
> What to do?
>

Jim Ault
Las Vegas






More information about the use-livecode mailing list