I have two objects of the same type
Then I want to make one equal to the other
The problem is that when I CLEAR setupBMPData, it also clears tempBMPData. I don't want both variables pointing to the same object. How do I copy the contents of one variable to the other, but keep them pointing to separate objects?
-Sterling
B4X:
Private tempBMPData, setupBMPData As BitmapData
Then I want to make one equal to the other
B4X:
tempBMPData = setupBMPData
The problem is that when I CLEAR setupBMPData, it also clears tempBMPData. I don't want both variables pointing to the same object. How do I copy the contents of one variable to the other, but keep them pointing to separate objects?
-Sterling