MathGroup Archive 2000

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

Search the Archive

Question to subscript

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22484] Question to subscript
  • From: "F. Mittermayr" <mitterma at linz.vai.co.at>
  • Date: Wed, 8 Mar 2000 02:22:23 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I want to define a function with 3 parameters f(A_String,index_Integer,
B_String) and the result should be a string of the form:

A          B
   index

where only index is subscripted.

In[]=
f[A_String, index_Integer, B_String]:=ToString[A            ] <> B
                                                                       index

E.g.
f["A",1,"B"]

but result is that also B is subscripted. How to tell Mathematica B not to
be subscripted??

Any help appreciated
F. Mittermayr




  • Prev by Date: Antipodal Maps
  • Next by Date: Re: assume an integer
  • Previous by thread: Antipodal Maps
  • Next by thread: Re: Question to subscript