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 / Messages /

$NewSymbol

FilledSmallSquare $NewSymbol is a global variable which, if set, is applied to the name and context of each new symbol that Mathematica creates.

FilledSmallSquare The name and context of the symbol are given as strings.

FilledSmallSquare $NewSymbol is applied before the symbol is actually created. If the action of $NewSymbol causes the symbol to be created, perhaps in a different context, then the symbol as created will be the one used.

FilledSmallSquare $NewSymbol is applied even if a symbol has already been created with a Stub attribute by DeclarePackage.

FilledSmallSquare $NewSymbol is not applied to symbols automatically created by scoping constructs such as Module.

FilledSmallSquare See Section 2.7.13.

FilledSmallSquare See also: DeclarePackage, $NewMessage.

FilledSmallSquare New in Version 2.