This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Input and Output / Formatting Functions /

PrecedenceForm

FilledSmallSquare PrecedenceForm[expr, prec] prints with expr parenthesized as it would be if it contained an operator with precedence prec.

FilledSmallSquare prec must be an integer. See notes for Infix.

FilledSmallSquare Example: a + PrecedenceForm[b c, 10] LongRightArrow.

FilledSmallSquare PrecedenceForm acts as a "wrapper", which affects printing, but not evaluation.

FilledSmallSquare See Section 2.9.16.

FilledSmallSquare New in Version 1.

Further Examples