General information
Category:
Object Oriented Programming
Title:
Copying property values from one object to another
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only