Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to copy an object
Message
From
30/10/1998 05:31:18
 
 
To
30/10/1998 05:28:45
James Beerbower
James Beerbower Enterprises
Hochheim Am Main, Germany
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00152644
Message ID:
00152646
Views:
19
>Is there some easy way to copy an object? Like ACOPY() but for objects? Simple assignment creates a reference to the object rather than an new instantiantion.
>
>Thanks in advance
>
>James Beerbower

Maybe
oObjectCopy = CREATEOBJECT(oOriginalObject.Class)
Danijel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform