Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Bug: symbol recreates itself suddenly

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86686] Bug: symbol recreates itself suddenly
  • From: "Severin Posta" <severin at km1.fjfi.cvut.cz>
  • Date: Tue, 18 Mar 2008 04:50:49 -0500 (EST)
  • Organization: Czech Technical University

It seems to me that after Remove[symbol] some times the symbol is 
"recreated" without notice. Consider the following example.

How to repeat:

In[1]:= $Version

Out[1]= "6.0 for Microsoft Windows (32-bit) (April 20, 2007)"

In[2]:= Unprotect[E]; ClearAttributes[E, {Constant, Protected,

ReadProtected}]; Remove[E];

In[4]:= ?E

During evaluation of In[4]:= Information::notfound: Symbol E not \ found. >>

In[5]:= Solve[E == 2]

Out[5]= {{Global`E -> 2}}

(* ?! *)

In[6]:= ?E

E is the exponential constant e (base of natural logarithms), with \ 
numerical value \[TildeEqual]2.71828. >>

(* THIS IS NOT CORRECT ANSWER *)



Severin Posta






  • Prev by Date: importing nb files
  • Next by Date: Compiled function slowdown
  • Previous by thread: Re: importing nb files
  • Next by thread: Re: Bug: symbol recreates itself suddenly