Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10850

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

From "Nasser M. Abbasi" <nma@12000.org>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: what would cause a symbol not to clear using Clear[name] or Remove[name]?
Date 2012-07-09 02:48 +0000
Message-ID <jtdgp0$aka$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: what would cause a symbol not to clear using Clear[name] or Remove[name]? "Nasser M. Abbasi" <nma@12000.org> - 2012-07-09 02:48 +0000

csiph-web