Hi All,

I am confused about the copy command, is there any way to copy an object onto the current card and rename it at the same time? I am using the following code snippet to create a new rectangle with a given name:

copy graphic "TemplateRect" to this card  -- TemplateRect is precreated
put the ID of the last graphic into myGraphicID
put "G-" & myGraphicID into myGraphicName
set the name of graphic ID myGraphicID to myGraphicName


Is there no way to do something like this the following?

copy graphic "TemplateRect" to this card with name "xxxx"

I can't seem to find the correct syntax!

Thanks a lot
Dave
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to