Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Strange behavior of the function Remove' topicStudent Support Forum > General > Archives > "Strange behavior of the function Remove"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
09/14/12 5:39pm

First do the Remove and assignment in a single cell.

In[1]:= a=4;
Remove[a];
a:=1

In[4]:= ?a

Global`a
a := 1

Quit the local kernel, start again and do the Remove and assignment in separate cells.

In[1]:= a=4;
Remove[a]

In[3]:= a:=1;

In[4]:= ?a

Global`a
a := 1

So it appears the result is identical in both cases.

Can you provide exactly the two sets of input and output, with a fresh notebook and no other calculations involved, that demonstrate the result is different?

URL: ,

Subject (listing for 'Strange behavior of the function Remove')
Author Date Posted
Strange behavior of the function Remove Dmitry 09/10/12 03:00am
Re: Strange behavior of the function Remove Bill Simpson 09/14/12 5:39pm
Re: Strange behavior of the function Remove Bill Simpson 09/14/12 6:10pm
Re: Re: Strange behavior of the function Remove Dmitry 09/16/12 01:44am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic