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


prints as a version of expr suitable for input to Mathematica.
  • InputForm always produces one-dimensional output, suitable to be typed as lines of Mathematica input.
  • InputForm acts as a "wrapper", which affects display, but not evaluation. »
  • Short can be used, but may generate skeleton objects which cannot be given as Mathematica input.
  • The option NumberMarks can be used to specify whether marks should be used to indicate type, precision, or accuracy of approximate numbers. »
InputForm of a typeset expression:
InputForm of a graphic:
InputForm of a typeset expression:
Click for copyable input
InputForm of a graphic:
Click for copyable input
Integer, Rational, Real, and Complex numbers:
Arbitrary-precision Real and Complex numbers:
Special constants:
Characters and strings of characters:
Control characters for strings:
Different ways of representing Power expressions:
Special typeset expressions:
Different list structures:
Input without special interpretation:
With special characters in the same positions there may be special interpretations:
In the case of superscripts, most things get interpreted as Power:
Some objects use a special output representation:
Some objects use an elided output representation:
The elided parts are visible using InputForm:
Machine numbers format without number marks by default:
The same number with number marks:
Extended-precision numbers include number marks by default:
Without number marks:
A mixed symbolic and numeric expression:
Include number marks for all numbers:
Omit all number marks:
InputForm affects display but not evaluation:
Apply InputForm to the evaluated integral:
InputForm has a linear formatting:
FullForm has linear formatting without special syntax:
OutputForm, StandardForm, and TraditionalForm all provide two-dimensional formatting:
Use ToString to generate a string in input form:
New in 1 | Last modified in 3