This is why you should never write more than 2-3 lines of code before compiling and testing. If you had written the MINIMUM amount of code needed for a switch statement, you'd have found your problem much easier.
Post by:autobot
He does not suffer fools gladly. But this tiny ad does:
a bit of art, as a gift, that will fit in a stocking