MathGroup Archive 2006

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

Search the Archive

Re: Subscript vs SubscriptBox

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69036] Re: Subscript vs SubscriptBox
  • From: bghiggins at ucdavis.edu
  • Date: Sun, 27 Aug 2006 01:24:20 -0400 (EDT)
  • References: <ecoon7$2td$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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?