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

MathGroup Archive 2010

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

Search the Archive

Re: How to *really* remove a symbol?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110928] Re: How to *really* remove a symbol?
  • From: "Carl K. Woll" <carlw at wolfram.com>
  • Date: Mon, 12 Jul 2010 01:04:21 -0400 (EDT)

On 7/10/2010 2:59 AM, Yaroslav Bulatov wrote:
> I occasionally run into a situation where a symbol refuses to get
> removed. For instance I can do the following
>
> ClearAll[appPlot];
> Clear[appPlot];
> Remove[appPlot];
> Information[appPlot];
> OwnValues[appPlot]
>
> and it displays {}, and "Information" reports nothing for that symbol.
> But then if I issue "OwnValues[appPlot]" in the next cell, it gets
> initialized to some value I used for it before and I get
> {HoldPattern[appPlot] :>  ....
>
> So far the only thing I found that fixes this is restarting the
> kernel. Is there any other way of removing this symbol?
> I'm on Mathematica 7.0.0 for MacOS
>
>    

Do you have dynamic content in your notebook? It's possible that a 
Manipulate or some other piece of dynamic content is reinitializing your 
variable.

Carl Woll
Wolfram Research


  • Prev by Date: Re: Displaying cylinders
  • Next by Date: Re: Fast pricer for American options
  • Previous by thread: Re: How to *really* remove a symbol?
  • Next by thread: Quantum Factorization Shor Algorithm in Mathematica