Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying property values from one object to another
Message
From
14/12/1999 22:32:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Copying property values from one object to another
Miscellaneous
Thread ID:
00303863
Message ID:
00303863
Views:
70
What is the best way of transferring property values from one object to another?
Let's say I have an object A with properties x, y, and z
and I have object B with properties q, r, x and y
I want a method to transfer x and y values from B to A without explicitly "knowing" that the object share those properties in common

I'm currently using AMEMBERS() and vartype() etc , but is there an easier way?
Next
Reply
Map
View

Click here to load this message in the networking platform