Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

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

Search the Archive

Re: Subscripts, Doh!!!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19299] Re: Subscripts, Doh!!!
  • From: Colin Rose <colin at tri.org.au>
  • Date: Sat, 14 Aug 1999 01:45:21 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Carl Woll wrote:


>In[102]:=      SetAttributes[Subscript,{HoldFirst}]
>
>In[104]:=      t=1
>               Subscript[t,1]
>
>Out[104]=      1
>
>Out[105]=      t
>                1


And, in the same vein:


      SetAttributes[OverHat,    HoldFirst]
      SetAttributes[OverBar,    HoldFirst]
      SetAttributes[OverTilde,  HoldFirst]


      In[]:=  t = 3;

      In[]:=  Plot[OverHat[t], {OverHat[t], 1, 10}]


Delectable.

Cheers and thanks

Colin
 

Colin Rose
tr(I)    -  Theoretical Research Institute
__________________________________________
colin at tri.org.au    http://www.tri.org.au/


 






  • Prev by Date: Please Help
  • Next by Date: Re: Gaussian PDF Overlay
  • Previous by thread: Re: Re: Subscripts, Doh!!!
  • Next by thread: Re: Re: Re: Subscripts, Doh!!!