Switch Case jumping between two cases
Posted: Sun Sep 09, 2012 10:31 pm
Hi
Is it possible to jump from one case to another ?
if so how?
I want to do something like this
thanks a lot
Is it possible to jump from one case to another ?
if so how?
I want to do something like this
Code: Select all
switch(situation){
case 'a':
//..
break;
case 'b':
if (condition x) goto case a
if (condition y) goto case c
break;
case 'c':
//..
break;
}