|
It can be tedious, but if you declare your variables outside the switch, then initialize/assign values in the switch statement, it oftentimes works waaay better, if not all the time.
If yoou're using some of the same variables in subroutines, I've declared varialbes outside of void main and it worked, although it didn't seem to want to work with integers..
|