 |
Context
Context[
] gives the current context. Context[
symbol
] gives the context in which a symbol appears.
The current context is the value of $Context. See the Mathematica book: Section 2.6.8. See also: Begin, $ContextPath, Remove.
Further Examples
Every symbol (function or variable) in Mathematica is associated with a context. An explanation of how contexts works, and examples of context manipulation, are given in the Further Examples for Begin. Without an argument, Context returns the value of the current context (stored in $Context).
In[1]:= 
Out[1]= 
With a symbol as an argument, Context returns the context to which this symbol belongs.
In[2]:= 
Out[2]= 
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | | | |
 | |
|