Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Programming / Scoping /

$ModuleNumber

FilledSmallSquare $ModuleNumber gives the current serial number to be used for local variables that are created.

FilledSmallSquare $ModuleNumber is incremented every time Module or Unique is called.

FilledSmallSquare Every Mathematica session starts with $ModuleNumber set to 1.

FilledSmallSquare You can reset $ModuleNumber to any positive integer, but if you do so, you run the risk of creating naming conflicts.

FilledSmallSquare See Section 2.7.3.

FilledSmallSquare See also: $SessionID, Temporary.

FilledSmallSquare New in Version 2.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: