This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / Scoping /

End

FilledSmallSquare End[ ] returns the present context, and reverts to the previous one.

FilledSmallSquare Every call to End must be balanced by an earlier call to Begin.

FilledSmallSquare End[ ] resets the value of $Context.

FilledSmallSquare End[ ] returns the present context name as a string of the form "context`".

FilledSmallSquare End[ ] does not modify $ContextPath.

FilledSmallSquare See Section 2.7.10.

FilledSmallSquare New in Version 1.

Further Examples