Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how

Legacy Documentation

Mathematica 8 (2010)

This is documentation for Mathematica 8, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 14.3)
Flow Control
Traditional procedural programming languages typically require programmers to define an explicit "flow of control" at every stage in their programs. Mathematica provides standard flow control primitives, with various symbolic extensions—though its higher-level programming paradigm usually frees programmers from having to specify the details of flow control.
Return return from any function
Break , Continue break, continue in procedural looping constructs
Goto , Label largely obsolete explicit procedural flow control
Throw "throw" any expression to be "caught" by an enclosing Catch
Check check for messages
Abort generate an abort
TimeConstrained , MemoryConstrained run with constraints
Pause pause for a specified time
Dialog initiate a subsession dialog
TUTORIALS
MORE ABOUT


ja zh

AltStyle によって変換されたページ (->オリジナル) /