I have this type
Later, I use CustRECORD2 = CustRECORD
And I see that whenever I change CustRECORD, also CustRECORD2 is changed. It seems that it was the reference that was passed to one variable to another. Is there a way to just made a independent copy?
B4X:
Type CustRECORDTYPE( _
ID As Int, _
CODE As String, _
NAME As String
)
Dim CustRECORD As CustRECORDTYPE
Dim CustRECORD2 As CustRECORDTYPE
Later, I use CustRECORD2 = CustRECORD
And I see that whenever I change CustRECORD, also CustRECORD2 is changed. It seems that it was the reference that was passed to one variable to another. Is there a way to just made a independent copy?