Context

Context[]
gives the current context.

Context[symbol]
gives the context in which a symbol appears.

DetailsDetails

  • The current context is the value of $Context.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Give the current context. The default is :

In[1]:=
Click for copyable input
Out[1]=

If a new symbol is created, it will have this context:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Give the context of an existing symbol:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1988
(1.0)