A break statement is legal only within a do, for, while, or switch statement.A continue statement is legal only within a do, for, or while statement. (MSDN)你的for语句后面加了 ; continue break就不在for循环里面了,就是illegal...