waituntil(x = x+1; x < 100); if timeIsOver { exitwith { foo(); bar(); } }