Context

Context[]

gives the current context.

Context[symbol]

gives the context in which a symbol appears.

Details

  • The current context is the value of $Context.

Examples

Basic Examples  (2)

Give the current context. The default is "Global`":

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

Give the context of an existing symbol:

Introduced in 1988
 (1.0)