Mathematica 9 is now available

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



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.