Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy an Object
Message
From
16/07/2006 12:41:42
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01136724
Message ID:
01136791
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform