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"