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.

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
            User manual for Singular version 4.3.1, 2022, generated by texi2html.