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

Documentation / Mathematica / Built-in Functions / Programming / Flow Control /

Return

FilledSmallSquare Return[expr] returns the value expr from a function.

FilledSmallSquare Return[ ] returns the value Null.

FilledSmallSquare Return[expr] exits control structures within the definition of a function, and gives the value expr for the whole function.

FilledSmallSquare Return takes effect as soon as it is evaluated, even if it appears inside other functions.

FilledSmallSquare Return can be used inside functions like Scan.

FilledSmallSquare See Section 2.6.9.

FilledSmallSquare See also: Break, Throw, Abort.

FilledSmallSquare New in Version 1.



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


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: