for i = 1, 10 do doA() if condition then continue end doB() end for i = 1, 10 do doA() if not condition then doB() end end