title: Is there a way to break out of a while loop before the original condition is made false?
body: <p>Is there a way to break out of a while loop before the original condition is made false? </p>
  
  <p>for example if i have: </p>
  
  <pre><code>while (a==true) 
  { 
      doSomething() ; 
      if (d==false) get out of loop ;
      doSomething_that_i_don't_want_done_if_d_is_false_but_do_if_a_and_d_are_true() ;
  } 
  </code></pre>
  
  <p>Is there any way of doing this? </p>