Home Online Manual
Top
Back: apply
Forward: breakpoint
FastBack: Functions
FastForward: System variables
Up: Control structures
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.2.2 break

Syntax:
break;
Purpose:
leaves the innermost for or while block.
Example:
 
while (1)
{
  ...
  if ( ... )
  {
    break; // leave the while block
  }
}
See Control structures; for; while.