Problem using switch case

And please post using tags, so we can work with your code snippets?