MathGroup Archive 2006

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

Search the Archive

Re: a slightly unexpected case of General::spell1


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


  • Prev by Date: Mathematica / MacOSX / XDarwin fonts problem
  • Next by Date: Algebraic re-substitution
  • Previous by thread: a slightly unexpected case of General::spell1
  • Next by thread: Re: a slightly unexpected case of General::spell1