For for cycle command: It is located inside the cycle. The break command terminates the cycle for (the code execution is moved to behind the for cycle).
For switch command: It is located inside the command. The break command jumps out of the switch command (the code execution moves behind the switch).
For similar purpose in the VBScript language
is used the command Exit
exit for statement:
exit switch statement: