Trying to figure out how to jump to the next iteration for a for loop from within a nested switch statement. Everything I can see will only break me out of the current switch.
for(var loop = 0; loop <= 10; loop++) {
switch(control1) {
case 1:
break;
case 2:
switch(a) {
case "a":
if(evaluatestotrue) {
Jump to next loop iteration;
NOT SURE WHAT TO PUT HERE (break? contiune?);
}
break;
default:
patternfound = true;
break;
}
... additional code ...
break;
}
}
Everything seems to drop me out of the the inner switch, but what i need is to jump all the way to the next iteration of loop.