title: How to break out of an if statement from a boolean inside the if statement
body: <p>I have something like this</p>
  
  <pre><code>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
  }
  </code></pre>
  
  <p>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).</p>