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

Documentation / Mathematica / Built-in Functions / System Interface / Global Parameters /

$PreRead

FilledSmallSquare $PreRead is a global variable whose value, if set, is applied to the text or box form of every input expression before it is fed to Mathematica.

FilledSmallSquare $PreRead is always applied to each complete input string that will be fed to Mathematica.

FilledSmallSquare In multiline input with a text-based interface, $PreRead is typically applied to the input so far whenever each line is terminated.

FilledSmallSquare $PreRead is applied to all strings returned by a $SyntaxHandler function.

FilledSmallSquare $PreRead is applied before InString[n] is assigned.

FilledSmallSquare See Section 2.14.1.

FilledSmallSquare See also: $Pre, StringReplace, ToExpression.

FilledSmallSquare New in Version 2.