Cloning the selectedObject

Peter Haworth pete at lcsql.com
Sat Dec 7 19:35:51 EST 2013


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
>



More information about the use-livecode mailing list