Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy an Object
Message
De
16/07/2006 12:41:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01136724
Message ID:
01136791
Vues:
13
Hi David,
>Honestly in all the time I've been working with VFP I've never had to copy an object outside the scope of an academic exercise. What exactly are you wanting to accomplish with a copy of an object?

There is one area I'ld like to have a native clone-method or function: if I have to use standadized parameter objects. A simple "shallow copy" functionality like you described with amembers() should be enough there - the deep copy functionality (cloning of referenced objects) should not be needed.

But if you ever had the "pleasure" of having to write inside a framework having a "halfgod"-like parameter object (and yes, they had god objects as well <g>) as part of the interface you'ld probably feel the need as well.

regards

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform