help with switch statement

ok i just figured it out!! took me about 2 hours but it works now! I had to read in the values again in the do loop! thats why it was static.

Thanks a mil for your reply westfw...it always helps to get a fresh look on your code when you cant see the problem yourself! :wink: