|
InputForm
InputForm[expr] prints as a version of expr suitable for input to Mathematica.
Example: InputForm[x^2 + 1/a]  .
InputForm always produces one-dimensional output, suitable to be typed as lines of Mathematica input.
InputForm acts as a "wrapper", which affects printing, but not evaluation.
Put (>>) produces InputForm by default.
Short[InputForm[expr]] 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.
See Section 1.9.3, Section 1.10.9 and Section 2.9.1.
See also: OutputForm, FullForm, StandardForm.
New in Version 1; modified in 3.
Further Examples
|