ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



break(n)                                    Tcl Built-In Commands                                   break(n)



____________________________________________________________________________________________________________

NAME
       break - Abort looping command

SYNOPSIS
       break
____________________________________________________________________________________________________________


DESCRIPTION
       This  command  is  typically  invoked  inside the body of a looping command such as for or foreach or
       while.  It returns a TCL_BREAK code, which causes a break exception to occur.  The  exception  causes
       the  current script to be aborted out to the innermost containing loop command, which then aborts its
       execution and returns normally.  Break exceptions are also handled in a few other situations, such as
       the catch command, Tk event bindings, and the outermost scripts of procedure bodies.


SEE ALSO
       catch(n), continue(n), for(n), foreach(n), while(n)


KEYWORDS
       abort, break, loop



Tcl                                                                                                 break(n)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.