FullForm

FullForm[expr]

prints as the full form of expr, with no special syntax.

Details and Options

  • FullForm acts as a "wrapper", which affects display but not evaluation. »
  • FullForm always effectively uses "PrintableASCII" as the setting for $CharacterEncoding.
  • The option NumberMarks can be used to specify whether ` marks should be used to indicate type, precision, or accuracy of approximate numbers. »

Examples

open allclose all

Basic Examples  (2)

FullForm of a typeset expression:

FullForm of a graphic:

Scope  (8)

Basic Objects  (2)

Integer, Rational, Real, and Complex numbers:

Arbitrary-precision Real and Complex numbers:

Special constants:

Characters and strings of characters:

Control characters for strings:

Special Input Forms  (4)

Different inputs interpreted as Power expressions:

Special typeset expressions:

Different list structures:

Input without special interpretation:

With special characters in the same positions, there may be special interpretations:

In the case of superscripts, most things get interpreted as Power:

Special Output Forms  (2)

Some objects use a special output representation:

Some objects use an elided output representation:

The elided parts are visible in the underlying FullForm:

Options  (2)

NumberMarks  (2)

Inexact numbers format without number marks by default:

The same numbers without number marks:

A mixed symbolic and numeric expression:

Omit all number marks:

Applications  (4)

The FullForm will show the precedence of operators:

Grouping with parentheses affects the precedence:

See the underlying interpretation for a TraditionalForm output:

Perform replacements:

Replace lists with a new wrapper newhead:

Multiplications have the head Times:

Find all multiplications in expr:

See the underlying expressions:

Properties & Relations  (3)

FullForm affects display but not evaluation:

Apply FullForm to the evaluated integral:

FullForm has linear formatting without special syntax:

InputForm formats as linear input:

TreeForm graphically displays an expression's tree structure:

Possible Issues  (1)

Pattern matching is based on the FullForm:

The previous fraction is represented as a single Power expression:

Perform the desired replacement:

Introduced in 1988
 (1.0)
 |
Updated in 2003
 (5.0)