MathGroup Archive 2006

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

Search the Archive

Re: a slightly unexpected case of General::spell1

  • To: mathgroup at smc.vnet.net
  • Subject: [mg70931] Re: [mg70920] a slightly unexpected case of General::spell1
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Thu, 2 Nov 2006 06:47:04 -0500 (EST)
  • References: <200611010856.DAA01612@smc.vnet.net> <4548AF41.6000405@wolfram.com>

Thank you. I was beginning to wonder.

On 11/1/06, Carl Woll <carlw at wolfram.com> wrote:
> Chris Chiasson wrote:
>
> >In[1]:=
> >System`Dump`$MessagesInHelpBrowserAreKnown=False;
> >Format[anAbsicssa]="#";
> >
> >In[3]:=
> >anAbscissa^2//InputForm
> >
> >>From In[3]:=
> >General::spell1: Possible spelling error: new symbol name "anAbscissa" is \
> >similar to existing symbol "#".
> >
> >Out[3]//InputForm=
> >anAbscissa^2
> >
> >Shouldn't Mathematica know that I actually typed anAbscissa as the
> >input, which is nothing like #?
> >
> >AFAIK, # isn't even a symbol. It is a special type of input, like @,
> >that parses to Slot[1], even in environments that don't use
> >MakeExpression.
> >
> >
> Well, anAbscissa is similar to the existing symbol anAbsicssa, which has
> a Format statement so that it prints like "#". So, when anAbsicssa is
> printed in the warning message, it is replaced with "#".
>
> Carl Woll
> Wolfram Research
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Context headache
  • Next by Date: Re: message question
  • Previous by thread: Re: a slightly unexpected case of General::spell1
  • Next by thread: SparseArray error