I have something like this
bool a = true;
bool b = true;
bool plot = true;
if(plot)
{
if(a)
{
if(b)
b = false;
else
b = true;
//do some meaningful stuff here
}
//some more stuff here that needs to be executed
}
I want to break out of the if statement that tests a when b turns false. Kind of like break and continue in loops. Any ideas? Edit: sorry forgot to include the big if statement. I want to break out of if(a) when b is false but not break out of if(plot).