Break statement

Game Maker 8

Break statement

The break statement has the form

break

If used within a for-loop, a while-loop, a repeat-loop, a switch statement, or a with statement, it end this loop or statement. If used outside such a statement it ends the program (not the game).