Rename object

Trevor DeVore lists at mangomultimedia.com
Thu Jul 4 08:57:00 EDT 2019


On Thu, Jul 4, 2019 at 4:27 AM Richmond via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I've lost this . . . having done it several times before . . .
>
> So: I duplicate an object, let's call it img "XXX", so I end up with
> 2 objects called "XXX" (which is problematic), and I wish to
> rename the new version of "XXX" . . .
>
> err . . .
>
> set the name of the last/recent/latest/headache


After using “copy” a reference to the new object is stored in the “it”
variable.

>
set the name of it to “NEWNAME”

-- 
Trevor DeVore
ScreenSteps



More information about the Use-livecode mailing list