- Joined
- Oct 19, 2015
- Messages
- 3
- Reaction score
- 0
- First Language
- English
- Primarily Uses
OK, I don't know what is happening. Even with a new project, after copying an array with another array they bind together and cant modify one without the other being effected.
def ea_test
test = [0, 0, 0]
test2 = [0, 0, 0]
test2 = test #<<< Problem?
test[0] += 1
test[1] += 1
test2[2] += 1
msgbox test, test2
end
Test2 shouldn't be [0, 0, 0].
def ea_test
test = [0, 0, 0]
test2 = [0, 0, 0]
test2 = test #<<< Problem?
test[0] += 1
test[1] += 1
test2[2] += 1
msgbox test, test2
end
Test2 shouldn't be [0, 0, 0].


