Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fastest way to clone an object?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01403461
Message ID:
01403497
Vues:
71
>>What is the fastest way to clone an object? I believe there is no native VFP command that does it.
>>
>>TIA,
>>
>>Alex
>
>I think I saw the code published (Shallow copy). The question is - where was it, probably here or in wikis.

Keep in mind that a shallow copy is not guaranteed to give a unique and separate instance. It's just a pointer to the same object. Sometimes that may be OK, other times disastrous.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform