|
|
|
|
|
|
|
|
|
Local Variables in Mathematica
|
|
|
|
|
|
|
|
|
|
|
|
1992 Mathematica Developer Conference
|
|
|
|
|
|
Boston, MA
|
|
|
|
|
|
It is desirable for separate parts of the program to be independently understandable. This requires preventing name interference. Contexts can prevent the names in different pieces of code from interfering, but it is not convenient to use a new context for every function, and contexts don't provide correct lexical scoping in all cases. Reprint from the Mathematica Conference, June 1992, Boston. 5 pages.
|
|
|
|
|
|
|
|
|
|
|
|
documentation, tutorial, education, modularity, locality, lexical locality, dynamic locality, programming, context, scoping, grouping, LocalVars.ps
|
|
|
|
|
|
| LocalVars.ps (45.1 KB) - Postscript file |
|
|
|
|
|
|
|
| | | | | |
|