DOCUMENTATION CENTER SEARCH
Mathematica
>
Namespace Management
>
Built-in
Mathematica
Symbol
Mathematica Packages
Setting Up Mathematica Packages
Tutorials »
|
BeginPackage
End
$ContextPath
Context
CellContext
See Also »
|
Namespace Management
Package Bulletproofing
Package Development
Scoping Constructs
More About »
Begin
Begin
["
context
`"]
resets the current context.
MORE INFORMATION
Begin
resets the value of
$Context
.
The interpretation of symbol names depends on context.
Begin
thus affects the parsing of input expressions.
EXAMPLES
CLOSE ALL
Basic Examples
(1)
Define a function
f
in the
MyContext`
Context
:
In[1]:=
Out[1]=
In[2]:=
Restore the context:
In[3]:=
Out[3]=
f
will generally be hidden in the restored context:
In[4]:=
The definitions are all in
MyContext`f
:
In[5]:=
The function can be called using its fully qualified name:
In[6]:=
Out[6]=
Applications
(1)
SEE ALSO
BeginPackage
End
$ContextPath
Context
CellContext
TUTORIALS
Mathematica
Packages
Setting Up
Mathematica
Packages
MORE ABOUT
Namespace Management
Package Bulletproofing
Package Development
Scoping Constructs
New in 1
© 2008 Wolfram Research, Inc.