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; }
}
Last edited by cscgal; Feb 26th, 2004 at 1:43 pm.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
Offline 13,645 posts
since Feb 2002