Top
Back: 5.2 Control structures
Forward: 5.2.2 breakpoint
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.2 Control structures
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

5.2.1 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: 5.2 Control structures Forward: 5.2.2 breakpoint FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.2 Control structures Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.