Can you show us your code so that we can see if there are any errors?
A switch statement should be in the following form:
switch (variable)
{
case expression1: { statement1; break; }
case expression2: { statement2; break; }
...
default: { defaultstatement; }
}
cscgal
The Queen of DaniWeb
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229