A break statement is a flow-control feature provided by most programming languages that allows for an early exit from a loop; once a break statement is reached, its enclosing loop is immediately exited.


Within an imperative programming language, a control flow statement is a statement whose execution results in a choice being made as to which of two or more paths should be followed.


Quality Example
More special other

"E.g. break with labels as in java or even a more generic goto. continue does not seem more special than other control-structure mechanisms except that it is present in more languages"

from question "Why does Lua have no "continue" statement?"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0