This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

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

Further Examples: Throw

This definition makes g throw overflow if its argument is greater than 10.

In[1]:=

In[2]:=

Out[2]=

In[3]:=