Default case in switch() can't be blank, so or you remove it or you assign an action.
cereal 1,524 Nearly a Senior Poster Featured Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
diafol commented: great reply, as usual :) +14
Farhad.idrees commented: 1 +3
cereal 1,524 Nearly a Senior Poster Featured Poster
manc1976 commented: Thanks for showing me a better way to write this code +1
Xufyan commented: thanku xufyan +3
cereal 1,524 Nearly a Senior Poster Featured Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
dean8710 commented: tq dude +2