Quote Originally Posted by meagangramlin View Post
I did try this but it wouldn't work because the Stock object becomes a local variable in the while loop and I can't access it in the rest of the program.
That's why I said that I assumed tree.insert() made a copy of the data.