If you forget a break (on purpose or not), then the next case statements will not be evaluated. It will automatically fall through and execute the code. Otherwise the break statement wouldn't be necessary.
Quote:
|
BUT what if you want to skip the next case go to another one x cases down the line..... That's what I want to know. That would be useful.
|
You can't skip X cases from within a case.
It sounds to me like you need a different setup. Consider using a for/while statement with a switch to achieve what you need. It depends on your situation though.