Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest way to clone an object?
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01403461
Message ID:
01403497
Views:
68
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform