MathGroup Archive 1997

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

Search the Archive

Re: Subscripts??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8948] Re: Subscripts??
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Mon, 6 Oct 1997 01:59:17 -0400
  • Organization: University of Western Australia
  • Sender: owner-wri-mathgroup at wolfram.com

Gadi Oron wrote:

> Subscripts are a very nice and practical idea but gives me some hard time.
> 
> 1. Subscript[A,1] // N  gives  Subscript[A,1.]  :((
> Or:  Subscript[A,E] // N gives Subscript[A,2.7...]

	In[1]:= Subscript[A, 1]//N
	Out[1]=
			A
			 1.

	In[2]:= SetAttributes[Subscript, NHoldAll]

	In[3]:= Subscript[A, 1]//N
	Out[3]=
			A
			 1
Cheers,
	Paul 

____________________________________________________________________ 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia           
Nedlands WA  6907                     mailto:paul at physics.uwa.edu.au 
AUSTRALIA                             http://www.pd.uwa.edu.au/~paul

            God IS a weakly left-handed dice player
____________________________________________________________________


  • Prev by Date: Re: Sequence is funny !
  • Next by Date: How to modify system $Path
  • Previous by thread: Re: Subscripts??
  • Next by thread: Re: Subscripts??