Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title Downloads

Local Variables in Mathematica
Author

Bruce Smith
Conference

1992 Mathematica Developer Conference
Conference location

Boston, MA
Description

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.
Subject

*Mathematica Technology > Programming > Packages and Contexts
Keywords

documentation, tutorial, education, modularity, locality, lexical locality, dynamic locality, programming, context, scoping, grouping, LocalVars.ps
Downloads

Download
LocalVars.ps (45.1 KB) - Postscript file