The Open Source Physics website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.
Resetting certain variables with reset button but not all the variables
- May 8, 2013 at 10:16AM
I'm trying to reset some of my variables with the rest button but not all the variables. Basically what i want to do is choose which variables are reset when the reset button is clicked. _reset() is just resetting everything. I want to reset just three variables. Seems like such an easy thing to do in my head but i've just had trouble with it. Any help much appreciated!!