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