Lets say i want to have a variable called t in a function. When i call the function t will be incremented. When i exit the function t should not have the value it had in the function and actually unless i say otherwise, t should still be 0 outside of the function. When i return to the function value of t should still be whatever i left it as when i last left the function in otherwords if i called the function and i increased t from 0 to 1, it should still be 1 when i return.
For some reason its not... I thought this was the idea of functions. I didn't think that when i went back to the function it would be reset back to 0. and yet it is. I dont want to declare a global variable because i dont want T in my funtion to interfear with t in the rest of the program. i want them to be 2 separate variables that i can leave and come back to and they will be as i left them.
The following threads and their accompanying sound tracks are protected by copyright and any broadcast public diffusion, copying and edditing are etc... etc.. you may not complain about my Typo's