OpenersNotesSection(Spacer1)Details

This message is generated when the value of (RefLink[$ModuleNumber, paclet:ref/$ModuleNumber]) is set to a lower value, or to some other value that may lead to conflicts between existing symbols and symbols that are generated automatically.

Symbols are generated automatically by (RefLink[Module, paclet:ref/Module]) and by (RefLink[Unique, paclet:ref/Unique]). The names of these symbols are based on the value of (RefLink[$ModuleNumber, paclet:ref/$ModuleNumber]).

(RefLink[Off, paclet:ref/Off])[message] switches off the message; (RefLink[On, paclet:ref/On])[message] switches it on. For example: (RefLink[Off, paclet:ref/Off])[$ModuleNumber::modnc].

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Evaluation of this input causes (RefLink[Module, paclet:ref/Module]) to generate a new symbol. The number in the name of this symbol is taken from the value of (RefLink[$ModuleNumber, paclet:ref/$ModuleNumber]).

Module[{var},1+var]

Reducing the value of (RefLink[$ModuleNumber, paclet:ref/$ModuleNumber]) will produce a warning message, since subsequent symbols generated using (RefLink[$ModuleNumber, paclet:ref/$ModuleNumber]), such as symbols generated by (RefLink[Module, paclet:ref/Module]), may have the same name as existing symbols.

$ModuleNumber=$ModuleNumber-1

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[$ModuleNumber, paclet:ref/$ModuleNumber])}})}})