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

MathGroup Archive 2008

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

Search the Archive

Re: Bug: symbol recreates itself suddenly

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86729] Re: Bug: symbol recreates itself suddenly
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 19 Mar 2008 05:27:42 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <fro39f$i7v$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

yes, because E is used in so many mathematical expressions
like Exp[] that Mathematica can't live without it.
To avoid such nonsense add
SetAttributes[E,Locked]

Regards
   Jens

Severin Posta wrote:
> 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: Re: Using a logical Or in the function definition
  • Next by Date: Re: importing nb files
  • Previous by thread: Bug: symbol recreates itself suddenly
  • Next by thread: Re: Bug: symbol recreates itself suddenly