MathGroup Archive 2006

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

Search the Archive

Re: Subscript vs SubscriptBox


Chris,

Subscript is a Mathematica operator that has no bulit-in evaluation
rules associated with it; CirclePlus is another example. In contrast
the operator Times does have evaluation rules associated with it.

SubscriptBox is the box representation of Subscript obtained by

ToBoxes[Subscript[x,y]

SubscriptBox[x, 3]

while

ToBoxes[CirclePlus[x,y]]

gives

RowBox[{x, â??, y}]

Hope this helps,

Cheers,

Brian

Chris Chiasson wrote:
> Could someone explain in detail what the difference between Subscript
> and SubscriptBox is? FullDefinition was not too helpful. The help for
> Subscript redirects to SubscriptBox.
> 
> -- 
> http://chris.chiasson.name/


  • Prev by Date: Re: Subscript vs SubscriptBox
  • Next by Date: Re: Selecting Lists Without Null Results
  • Previous by thread: Re: Re: Subscript vs SubscriptBox
  • Next by thread: Why polynomial Can't output as single Number?