while( myBoolean == false ){//do something//should include a possibility where myBoolean gets set to true}for( i=0; i<10; i++) {//do something}