>How about just assigning the object to another variable? For example..
>
>x=createobject('form')
>y = x
Both y and x will point to the same object. So, changing a property of x will also change the same prop for y. This is not a copy of the object, but a copy of the reference to that object.
>x=createobject('form')
>y=createobject(x.class)
It only creates an object of the same class, not a copy of the initial object.
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement