MathGroup Archive 1999

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

Search the Archive

Re: Subscripts, Doh!!!


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!!!