Cloning the selectedObject

Graham Samuel livfoss at mac.com
Sun Dec 8 13:24:24 EST 2013


Thanks for the confirmation. I will do a quick test with 6.5.1 (very unlikely indeed to have changed) and then report it.

Graham


On 8 Dec 2013, at 01:35, Peter Haworth wrote:

> Confirmed here with 5.5.4.  It's a bug of one of the two types you mention,
> who knows which one!  I guess you would have to use a repeat loop if you
> want to clone every object in the selectedobject(s).
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> 
> 
> On Sat, Dec 7, 2013 at 3:22 PM, Graham Samuel <livfoss at mac.com> wrote:
> 
>> In the LC Dictionary entry on 'clone', it gives as an example
>> 
>> clone the selectedObject
>> 
>> Now, 'the selectedObject' which is synonymous with 'the selectedObjects',
>> can contain multiple lines, each one referring to a different selected
>> object. AFAIKS, if you try the script line above with a multiline version
>> of 'the selectedObject', the command doesn't clone all the objects, just
>> the first one. At least I have a test that seems to show this, but finger
>> trouble is always a possibility.
>> 
>> Can anyone confirm, and if they can, is it a bug, or just something
>> missing in the Dictionary (well, that's a bug too, but of another kind)?
>> I'm using LC 6.1.3.
>> 
>> Graham
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list