Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest way to clone an object?
Message
From
03/06/2009 15:41:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01403461
Message ID:
01403503
Views:
47
>>>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.

Shallow copy would work for my purposes, but I am looking for fastest speed.

Thanks,

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform