Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: ClearAll ?? or what

  • To: mathgroup at smc.vnet.net
  • Subject: [mg102777] Re: ClearAll ?? or what
  • From: Armand Tamzarian <mike.honeychurch at gmail.com>
  • Date: Thu, 27 Aug 2009 06:32:46 -0400 (EDT)
  • References: <h7371j$b28$1@smc.vnet.net>

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