MathGroup Archive 2009

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

Search the Archive

Re: ClearAll ?? or what


On Aug 26, 6:41 am, "noslowski" <noslow... at comcast.net> wrote:
> Is there a command that will remove all variables, custom functions,
> equations and so on?  
> I have tried every one that I can find including ClearAll [ " Global ' * "
> ], and so on.
>
> When I bring up the text book that I writing, I always end up with problems
> because I forgot to clear something out.  My book is interactive.   It would
> be nice to have a command that would clear everything out when I bring up my
> book each time.  There use to be a command in Fortran that did this, but I
> cannot find one in Mathematica.  
>
> I do have Dynamic Evaluation tuned off.
>
> Prof. Jake

Remove["Global'*"]

or

If[Length[Names["Global`*"]] > 0, Remove["Global`*"]];

so as to avoid the message of no Global symbols exist.


Mike


  • Prev by Date: Re: Cancel[] and finite symbolic sums ?
  • Next by Date: Problems with functions of a Complex Variable
  • Previous by thread: Re: ClearAll ?? or what
  • Next by thread: Re: Re: ClearAll ?? or what