Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum > General > > "quitting a package"

Post Reply:
Name:
Email Address:

Please send email when my message is replied to.

Url (optional):
Subject:
Message: view original message?
Attachment (optional):
Please answer this:2+4 =



Original Message (ID '108983') By jf:
I am not sure I understand your packages. Are they just files of code you run with << pkg1.m ? Do you need to stop execution, or Clear variables used on one package before starting the other? If the latter, you could start each package with Clear["Global`*"] to begin with a clean slate as far as user variables are concerned. Have you considered placing the package contents into different contexts so different variables will not interfere? references: http://reference.wolfram.com/mathematica/tutorial/SettingUpMathematicaPackages.html http://reference.wolfram.com/mathematica/tutorial/Contexts.html