'default' can only appear once in a 'switch' statementÂ
You attempted to use the default statement more than once within a switch statement. The default case is always the last case statement in a switch statement (it is the fall-through case).
To correct this error
- Remove any extra default case statements from your switch statement (use at most one default case statement in your switch statement).
See Also
Reference
switch Statement (JScript 5.6)
Concepts
Controlling Program Flow
JScript Reserved Words (JScript 5.6)