Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / New in Version 3.x / Input and Output /

MakeExpression

FilledSmallSquare MakeExpression[boxes, form] is the low-level function used in Mathematica sessions to construct expressions from boxes.

FilledSmallSquare MakeExpression returns its result wrapped in HoldComplete.

FilledSmallSquare form can be StandardForm, TraditionalForm, or other forms for which interpretation rules have been defined.

FilledSmallSquare You can give definitions for MakeExpression[expr, form] to specify your own rules for how boxes should be converted to expressions.

FilledSmallSquare MakeExpression is not automatically called on the results it generates. This means that explicit MakeExpression calls must typically be inserted into definitions for MakeExpression.

FilledSmallSquare MakeExpression is used whenever boxes are supplied as input to Mathematica.

FilledSmallSquare The boxes that are fed to MakeExpression are constructed from textual input by forming tokens, then grouping these according to standard Mathematica operator precedence rules, stripping out spacing characters. StyleBox and other objects not intended for interpretation are removed.

FilledSmallSquare Definitions you give for MakeExpression will override built-in Mathematica rules for processing input.

FilledSmallSquare Giving input prefaced by \! makes Mathematica effectively perform MakeExpression.

FilledSmallSquare See Section 2.9.17.

FilledSmallSquare See also: MakeBoxes, ToExpression.

FilledSmallSquare New in Version 3.



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.