Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to copy an object
Message
De
30/10/1998 05:31:18
 
 
À
30/10/1998 05:28:45
James Beerbower
James Beerbower Enterprises
Hochheim Am Main, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00152644
Message ID:
00152646
Vues:
20
>Is there some easy way to copy an object? Like ACOPY() but for objects? Simple assignment creates a reference to the object rather than an new instantiantion.
>
>Thanks in advance
>
>James Beerbower

Maybe
oObjectCopy = CREATEOBJECT(oOriginalObject.Class)
Danijel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform