Break

From Mesham

Jump to: navigation, search

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

Personal tools