This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Input and Output  /

  • ToBoxes[ expr ] generates boxes corresponding to the printed form of expr in StandardForm.
  • ToBoxes[ expr , form ] gives the boxes corresponding to output in the specified form.
  • ToBoxes uses any relevant definitions given for Format and MakeBoxes.
  • You can see how box structures generated by ToBoxes would be displayed by using DisplayForm.
  • See the Mathematica book: Section 2.8.3.
  • See also: ToString, ToExpression, MakeBoxes, HoldForm, DisplayForm.