Difference between revisions of "Break"

From Mesham
Jump to navigationJump to search
(Created page with '== Syntax == break; == Semantics == Will break out of the current enclosing loop body == Example == while (true) break; Only one iteration of the loop will complete, where…')
(No difference)

Revision as of 16:04, 31 December 2009

Syntax

break;

Semantics

Will break out of the current enclosing loop body

Example

while (true) break;

Only one iteration of the loop will complete, where it will break out of the body