Just to make sure I'm reading this correctly, and it could be a rookie question.
Does this mean that assigning a typed content to another typed content really copies the integral data of say "hah" to "heh" from the example above?
If it does, it will save me a bunch of trouble.
EDIT: I've tried to integrate this logic in my project, but it doesn't seem to do as I tought. It might just copy the pointer in one typed variable into the other typed variable. If this doesn't work, then it means I have to enumerate the 50 something elements contained in my type as I copy them one by one... Also, it means that if I change my type, I'll have to make sure I also modify other parts of my code where I handle type content such a copying the whole type. :(
Type a Field b% Field c% End Type hah.a = New a heh.a = New a hah\b = 1 hah\c = 2 heh = hah Print heh\b Print heh\c WaitKey()
Does this mean that assigning a typed content to another typed content really copies the integral data of say "hah" to "heh" from the example above?
If it does, it will save me a bunch of trouble.
EDIT: I've tried to integrate this logic in my project, but it doesn't seem to do as I tought. It might just copy the pointer in one typed variable into the other typed variable. If this doesn't work, then it means I have to enumerate the 50 something elements contained in my type as I copy them one by one... Also, it means that if I change my type, I'll have to make sure I also modify other parts of my code where I handle type content such a copying the whole type. :(