Is there an easy way to create a new copy of an object with exactly the same values, without knowing it's type structure?
As I understand the following code creates a pointer to the original object:
As I understand the following code creates a pointer to the original object:
Type MyObject Field X:Int, Y:Int End Type Local A:MyObject = New MyObject A.X = 10 A.Y = 20 Local B:MyObject = New MyObject B = A B.X = 100 DebugLog A.X 'Output: 100