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

InputForm

InputForm[expr]
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[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.  »
New in 1 | Last modified in 3