I want something like this to happen:
void a(){
b()
// if condition met in b(), exit out of this function also
}
void b(){
if(condition){
super return
// also returns out of function a
}
}
I can't seem to think of a way to do this. Any help would be appreciated. Thanks!
Aucun commentaire:
Enregistrer un commentaire