MathGroup Archive 2012

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

Search the Archive

Re: what would cause a symbol not to clear using Clear[name] or Remove[name]?


On 7/8/2012 8:39 PM, Bob Hanlon wrote:
> Here is an example of one way that can occur.
>
> y starts off clear
>
> ??y
>
> Global`y
>
> $Post is set to define y after any evaluation
>
> ($Post=(y=10;#)&);
>
> Now, even clearing y will set it
>
> Clear[y]
>
> ??y
>
> Global`y
>
> y=10
>

Thank you Bob;

But I did not use $Post (too advanced for me). I do
not even know what $Post does, and never used it
myself in the code.

regards,
--Nasser




  • Prev by Date: Re: what would cause a symbol not to clear using Clear[name] or Remove[name]?
  • Next by Date: Re: Framed plot provides an extra vertical line
  • Previous by thread: Re: what would cause a symbol not to clear using Clear[name] or Remove[name]?
  • Next by thread: Re: what would cause a symbol not to clear using Clear[name] or Remove[name]?