Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Input and Output / Format Types /

Format

FilledSmallSquare Format[expr] prints as the formatted form of expr.

FilledSmallSquare Assigning values to Format[expr] defines print forms for expressions.

FilledSmallSquare Format[expr, form] gives a format for the specified form of output.

FilledSmallSquare Standard forms for formatted output are:

FilledSmallSquare You can add your own forms for formatted output.

FilledSmallSquare Example: Format[s] := rhs defines a symbol s to print like rhs.

FilledSmallSquare Format[f[ ... ]] := rhs defines a function f to print like rhs.

FilledSmallSquare Definitions for Format are stored in the FormatValues of a symbol.

FilledSmallSquare If you specify a new output format for an expression by giving a definition for Format, there is no guarantee that Mathematica will be able to interpret this output format if it is used as input.

FilledSmallSquare Definitions given for Format are used before those given for MakeBoxes.

FilledSmallSquare See Section 2.9.16.

FilledSmallSquare See also: ToString, ToBoxes, MakeBoxes, MakeExpression.

FilledSmallSquare New in Version 1; modified in 4.1.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: