Re: Bug: symbol recreates itself suddenly
- To: mathgroup at smc.vnet.net
- Subject: [mg86727] Re: [mg86686] Bug: symbol recreates itself suddenly
- From: DrMajorBob <drmajorbob at bigfoot.com>
- Date: Wed, 19 Mar 2008 05:27:20 -0500 (EST)
- References: <9457525.1205860522819.JavaMail.root@m08>
- Reply-to: drmajorbob at longhorns.com
"In[6]:= ?E
E is the exponential constant e (base of natural logarithms), with \
numerical value \[TildeEqual]2.71828. >>
(* THIS IS NOT CORRECT ANSWER *)"
Oh yes, it certainly IS the correct answer.
Why do you want to Remove built-in constants? (Regardless of whether it
might or might not "work" to do so?)
Bobby
On Tue, 18 Mar 2008 04:50:49 -0500, Severin Posta
<severin at km1.fjfi.cvut.cz> 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
>
>
>
>
>
>
-- =
DrMajorBob at longhorns.com