MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to clear all definitions?


>I play around with the definitions of functions a lot and I've learned
>that every time I change something, I better save the file, close mma
>and restart it.  Otherwise, mma gives rediculous answers sometimes and
>I never know what mode I'm in.
>
>Question: is there some simple command which clears all definitions
>and saves me from the close/restart routine?
>
>Thanks for any clues, Rob


Hi Rob:

Get the CleanSlate package.  I believe you can download it from MathSource.
Place this package in a location that is searched by Mma (see contents of
$Path) such as "Mathematica:3.0:AddOns:Applications".

Read in this package at the end of your init.m file using:

Needs["CleanSlate`"]

Then when you want to clear all your definitions, just do the following:

CleanSlate[]



Cheers,

Des Penny


-------------------------------
Des Penny
Physical Science Dept.
Southern Utah University
Cedar City, UT 84720

VOICE: (Office): (801) 586-7708
       (Home)  : (801) 586-2286
FAX:    (801) 865-8051
e-mail: penny at suu.edu
-------------------------------




  • Prev by Date: Re: [q]contour integral
  • Next by Date: Mathematica Technical Question
  • Previous by thread: Re: How to clear all definitions?
  • Next by thread: Re: Re: How to clear all definitions?