Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1995
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

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

Search the Archive

wierd REmove behavior

  • To: mathgroup at smc.vnet.net
  • Subject: [mg2363] wierd REmove behavior
  • From: gaylord at ux1.cso.uiuc.edu (richard j. gaylord)
  • Date: Fri, 27 Oct 1995 01:50:55 -0400
  • Organization: university of illinois

one of my students came to see me and asked what was going on in the following.

In[6]:=
Remove[c]

In[7]:=
c = 6
Out[7]=
6

In[8]:=
?c
Global`c
c = 6


In[9]:=
Remove[c];c = 6
Out[9]=
6

In[10]:=
?c
Information::notfound: Symbol c not found.



In[11]:=
Trace[Remove[c]; c = 6]
Out[11]=
{Remove[Removed[c]]; Removed[c] = 6, 
 {Remove[Removed[c]], Null}, {Removed[c] = 6, 6}, 6}


i told him i had no idea why this happened but i think its a bug that i
can't write a compound expression like In[9] and get an assignment to c
made.

anybody have any comments on this?

-richard-

-- 
"if you're not programming functionally, then you're programming dysfunctionally"


  • Prev by Date: Re: Spelling in Mathematica...
  • Next by Date: Plotting Dynamic Flows on Simplex
  • Previous by thread: Re: Min
  • Next by thread: Re: wierd REmove behavior