C
Ch Ba
Ok so my situation is as follows. I have an array "foo", which contains
several instances of the class "bar". I get a copy of an object inside
of "foo" using foo.detect, and then modify that copy. Afterwards, I
need to replace the original inside the array with the modified version.
The problem is that I do not know the index of the object. How would I
go about doing that? I could use some help =)
several instances of the class "bar". I get a copy of an object inside
of "foo" using foo.detect, and then modify that copy. Afterwards, I
need to replace the original inside the array with the modified version.
The problem is that I do not know the index of the object. How would I
go about doing that? I could use some help =)