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

Documentation / Mathematica / Built-in Functions / Input and Output / Format Types /

InputForm

FilledSmallSquare InputForm[expr] prints as a version of expr suitable for input to Mathematica.

FilledSmallSquare Example: InputForm[x^2 + 1/a] LongRightArrow.

FilledSmallSquare InputForm always produces one-dimensional output, suitable to be typed as lines of Mathematica input.

FilledSmallSquare InputForm acts as a "wrapper", which affects printing, but not evaluation.

FilledSmallSquare Put (>>) produces InputForm by default.

FilledSmallSquare Short[InputForm[expr]] can be used, but may generate skeleton objects which cannot be given as Mathematica input.

FilledSmallSquare The option NumberMarks can be used to specify whether ` marks should be used to indicate type, precision or accuracy of approximate numbers.

FilledSmallSquare See Section 1.9.3, Section 1.10.9 and Section 2.9.1.

FilledSmallSquare See also: OutputForm, FullForm, StandardForm.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples