Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Mathematica Sessions  /
Out

  • % n or Out[ n ] is a global object that is assigned to be the value produced on the n output line.
  • % gives the last result generated.
  • %% gives the result before last. %% ... % (k times) gives the k previous result.
  • Out[ ] is equivalent to %.
  • Out[- k ] is equivalent to %% ... % (k times).
  • See the Mathematica book: Section 1.2.1, Section 1.3.3, Section 1.3.4Section 2.13.1.
  • See also: In, $Line, $HistoryLength, MessageList.

    Further Examples

    Here is an expression.

    In[1]:=

    Out[1]=

    This gives the output of the previous expression.

    In[2]:=

    Out[2]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.