MathGroup Archive 2008

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

Search the Archive

Re: Subscripts in version 7

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94242] Re: Subscripts in version 7
  • From: Will Robertson <wspr81 at gmail.com>
  • Date: Tue, 9 Dec 2008 06:55:25 -0500 (EST)
  • References: <ghdn08$fro$1@smc.vnet.net> <ghivuh$fc0$1@smc.vnet.net>

On 2008-12-08 21:50:49 +1030, Miguel <misvrne at gmail.com> said:

> Mathematica consider the subscripted like Subscript, not like a
> Symbol.
>
> In[]:
> m=10;
> Subscript[m, 1]
>
> Out[]:
> Subscript[10, 1]
>
> It is unsense.

It is nonsense, but you can override it for your own documents with
  SetAttributes[Subscript, HoldFirst]

I guess it's backwards compatibility that prevents Wolfram from making
this, now, the default behaviour.

Will



  • Prev by Date: having V6 and V7 available?
  • Next by Date: Re: Ruler
  • Previous by thread: Re: Subscripts in version 7
  • Next by thread: Drop elements from list