General information
Category:
Coding, syntax & commands
Title:
How to get a copy of an object ?
I have a custom class 'pippo'
Now I try to play with objects:
opippo = createobject('pippo') && create opippo object
opippo.tag = 'something'
refpippo = opippo && crate a reference to opippo object changes made to refpippo are reflected to opippo.
How to obtain a diffrent copy (not a reference) of opippo with prop tag just set and to be able to change it without reflect to opippo and refpippo ?
Thanks,
Dino.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only