ObjectList as a variable won't go?

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Jun 21 03:29:16 CDT 2010


Michael,

Thinking about it again, I believe this simply doesn't work with  
variables (=references as strings). It only works with actual  
references to objects. You can avoid this problem by using the do  
command (which seems a bit ironic,  considering a recent thread on the  
list).

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj
Download Clipboard Link http://clipboardlink.economy-x-talk.com and  
share the clipboard of your computer over the local network.
>
> On 21 jun 2010, at 09:43, 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?
>>
>> Mic




More information about the use-livecode mailing list