|
[Date Index]
[Thread Index]
[Author Index]
Re: a slightly unexpected case of General::spell1
- To: mathgroup at smc.vnet.net
- Subject: [mg70930] Re: [mg70920] a slightly unexpected case of General::spell1
- From: Carl Woll <carlw at wolfram.com>
- Date: Thu, 2 Nov 2006 06:47:00 -0500 (EST)
- References: <200611010856.DAA01612@smc.vnet.net>
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
|