- Joined
- Feb 4, 2015
- Messages
- 44
- Reaction score
- 0
- Primarily Uses
So I want an object in an array to equal the same values as another object.
Ex:
object1.a = 1object1.b = 3object1.c = 5object2.a = 2object2.b = 4object2.c = 6# Lets make them the same, but not in addressobject1.a = object2.aobject1.b = object2.bobject1.c = object2.c# Now...object1.a = 2object1.b = 4object1.c = 6Is there a way to say Object1 = Object2 without making it think I'm pointing, or in otherwords a short way of above in the code example.
Ex:
object1.a = 1object1.b = 3object1.c = 5object2.a = 2object2.b = 4object2.c = 6# Lets make them the same, but not in addressobject1.a = object2.aobject1.b = object2.bobject1.c = object2.c# Now...object1.a = 2object1.b = 4object1.c = 6Is there a way to say Object1 = Object2 without making it think I'm pointing, or in otherwords a short way of above in the code example.
