bordemstirs
Member
So, I have a map of records.
And I want to make a complete copy of it.
My experiences here tell me that simply saying B=A would not be sufficient.
Taking it down a step I could do foreach i in A B=A, which I really want to work, but something tells me I'd be accomplishing just as little, because of my complete lack of comprehension of how = works in OO languages. Is the only way to copy this data structure to go through and copy each field of each element? Or is there some keen operator to copy over the actual values and not just reference the object itself?
And I want to make a complete copy of it.
My experiences here tell me that simply saying B=A would not be sufficient.
Taking it down a step I could do foreach i in A B=A, which I really want to work, but something tells me I'd be accomplishing just as little, because of my complete lack of comprehension of how = works in OO languages. Is the only way to copy this data structure to go through and copy each field of each element? Or is there some keen operator to copy over the actual values and not just reference the object itself?