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/