ObjectList as a variable won't go?
m.schonewille at economy-x-talk.com
Mon Jun 21 04:29:16 EDT 2010
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
Economy-x-Talk Consulting and Software Engineering
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?
More information about the Use-livecode