Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Clear all variables but not functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg122181] Clear all variables but not functions
  • From: "mailcwc at gmail.com" <mailcwc at gmail.com>
  • Date: Wed, 19 Oct 2011 16:31:54 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

I define some functions in the init.m that starts with Mathematica.
How do I clear all variables but not these functions in the init.m?

I am also confused about the differences among Remove, Clear,
ClearAll, and Quit.
Are there some cases that one function is preferred than others.


  • Prev by Date: Re: Limitation on vector length in NDSolve?
  • Next by Date: contour plot on a general surface
  • Previous by thread: Clear all variables but not functions
  • Next by thread: Re: Clear all variables but not functions