The continue statement was probably implemented for while() only. I'll look into it. However, you can easily replace 'continue' by an if condition.