Mathematica 9 is now available

Wolfram Library Archive

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

Local Variables in Mathematica

Bruce Smith

1992 Mathematica Developer Conference
Conference location

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.

*Mathematica Technology > Programming > Packages and Contexts

documentation, tutorial, education, modularity, locality, lexical locality, dynamic locality, programming, context, scoping, grouping,

Download (45.1 KB) - Postscript file