![]() |
syntactic unit > statement > control flow statement > break statement |
![]() ![]() | ||||
break statement | ||||
subject | fact |
break statement | causes execution to immediately halt the current loop | ![]() |
has purpose to terminate a loop or switch-case statement | ![]() | |
is a subtopic of Loops and Decision Making | ![]() | |
is a kind of control flow statement | ![]() | |
see also break | ![]() | |
statement | is terminated by a semicolon ![]() | ![]() |
should be not more than one line long if possible | ![]() | |
syntactic unit | has syntax rule bold = mandatory | ![]() |
Kinds of break statement :