N
not_a_commie
Is it (even remotely possible) to do the following:
class jump {
void A { go out of this function then skip to C }
void B { do something bad }
void C { do nothing }
}
main () {
jump = new jump
jump.A
jump.B // this line of code got skipped
jump.C
}
I think I could make it happen using the throw keyword and some tricky
exception handling. Is there any other way?
class jump {
void A { go out of this function then skip to C }
void B { do something bad }
void C { do nothing }
}
main () {
jump = new jump
jump.A
jump.B // this line of code got skipped
jump.C
}
I think I could make it happen using the throw keyword and some tricky
exception handling. Is there any other way?