Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Break

Usage

Break[ ] exits the nearest enclosing Do, For or While.


Notes

Break[ ] takes effect as soon as it is evaluated, even if it appears inside other functions.
• After a Break the value Null is returned from the enclosing control structure.
• The function of Break can also be achieved using Throw and Catch.
• See Section 2.6.9.
• See also: Continue, Return, Goto, Abort.
• New in Version 1; modified in 3.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: