Message This break statement is not within a for, while, do, or switch statement. Description A break statement can only appear inside a for, while, do, or switch statement. User Action Remove the break statement, or replace it with a goto statement.