Re: work?
- To: mathgroup at smc.vnet.net
- Subject: [mg120845] Re: work?
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Fri, 12 Aug 2011 05:07:16 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <j206b9$71e$1@smc.vnet.net> <201108111155.HAA08986@smc.vnet.net>
- Reply-to: murray at math.umass.edu
I'm not seeing any such error message in 8.0.1. On 8/11/11 7:55 AM, David Bailey wrote: > On 11/08/2011 10:11, Themis Matsoukas wrote: >> According to http://reference.wolfram.com/mathematica/howto/ClearMyDefinitions.html, Clear["Global`*"] clears all the definitions made during the current Mathematica session. However, >> >> a = 1; >> Clear["Global`*"] >> a >> >> 1 >> >> How is Clear["Global`*"] supposed to work? >> >> Thanks >> > > This looks to me like a bug introduced at 8.0. The command Clear["Global`*"] > seems to work at 7.0, but at 8.0 it generates an error message: > > Clear::wrsym: Symbol TimeStamp is Protected.>> > > > This seems to be because at 8.0, Wolfram have accidentally introduced a > protected symbol into the Global` context: > > In[9]:= Context[TimeStamp] > > Out[9]= "Global`" > > In[10]:= Attributes[TimeStamp] > > Out[10]= {Protected} > > Presumably this aborts the Clear command part way through (though of > course many commands don't give up if they hit an error). > > David Bailey > http://www.dbaileyconsultancy.co.uk > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- Re: How does Clear["Global`*"] work?
- From: David Bailey <dave@removedbailey.co.uk>
- Re: How does Clear["Global`*"] work?