Mathematica >

SyntaxForm

This function has not been fully integrated into the long-term Mathematica system, and is subject to change.
SyntaxForm
is an option for InterpretationBox and TagBox objects that specifies the precedence level to use when the InterpretationBox or TagBox is considered as an operator.
  • InterpretationBox and TagBox objects provide a way to store hidden information in Mathematica output. They are used for expressions that are to be displayed and interpreted in different forms. InterpretationBox[boxes, interpretation] displays as boxes but is interpreted on input as interpretation. TagBox[boxes, tag] displays as boxes but maintains tag to guide the interpretation of boxes on input.
  • SyntaxForm is specified as a string containing an operator whose precedence level is the same as that of the contents of the InterpretationBox and TagBox. For example, SyntaxForm -> "*". You can also distinguish the infix and prefix form of an operator, for example, by setting SyntaxForm to "a + b" and "+ a", respectively.
New in 3.0
© 2008 Wolfram Research, Inc.
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team