Break

From Mesham
Revision as of 15:44, 15 April 2019 by Polas (talk | contribs) (4 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Syntax

break;

Semantics

Will break out of the current enclosing loop body

Example

function void main() {
   while (true) { break; };
};

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

Since: Version 0.41b