PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
Mathematica
>
Symbol Handling
>
Built-in
Mathematica
Symbol
Contexts
Manipulating Symbols and Contexts by Name
Tutorials »
|
Begin
$ContextPath
Remove
$Context
Contexts
See Also »
|
Atomic Elements of Expressions
Symbol Handling
More About »
Context
Context
[]
gives the current context.
Context
[
symbol
]
gives the context in which a symbol appears.
MORE INFORMATION
The current context is the value of
$Context
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Give the current context. The default is
"Global`"
:
In[1]:=
Out[1]=
If a new symbol is created, it will have this context:
In[2]:=
Out[2]=
In[3]:=
Out[3]=
Give the context of an existing symbol:
In[1]:=
Out[1]=
SEE ALSO
Begin
$ContextPath
Remove
$Context
Contexts
TUTORIALS
Contexts
Manipulating Symbols and Contexts by Name
MORE ABOUT
Atomic Elements of Expressions
Symbol Handling
New in 1
© 2008 Wolfram Research, Inc.