Is there a way to break out of a while loop before the original condition is made false?
for example if i have:
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() ;
}
Is there any way of doing this?