Possible Duplicate:
How do I clear all user defined symbols?
During package development things get messed up quite often. (especially when playing with notations)
Is there a simple way to reset MMA from within a notebook (Maple has "Restart")?
Possible Duplicate:
How do I clear all user defined symbols?
During package development things get messed up quite often. (especially when playing with notations)
Is there a simple way to reset MMA from within a notebook (Maple has "Restart")?
Like acl says, Quit[] kills the kernel, as does its synonym Exit[]. The complete internal state will be lost. When the MathKernel process isn't running, it is automatically restarted when you press Shift+Enter to evaluate an input line.
Exit[], go to another cell containing <<"MyPackage\"and some tests. Can this be shortened? PuttingExit[]and<<"MyPackage`"` in the same is not working.
– NoEscape
Oct 02 '12 at 15:21
Exit[]. – Mark McClure Oct 02 '12 at 14:19