MathGroup Archive 2006

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

Search the Archive

Re: Using Map with function that has options...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68493] Re: [mg68475] Using Map with function that has options...
  • From: jmt <jmt at dxdydz.net>
  • Date: Tue, 8 Aug 2006 06:28:26 -0400 (EDT)
  • References: <200608070540.BAA24055@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On Monday 07 August 2006 07:40, Giacomo Ciani wrote:
> I have several expressions I whant to convert to string and then
> concatenate togheter to create a message to be sent to the standard
> output and written on a text log file. To avoid manually appliyng
> ToString to each of them, I'm using something like:
>
> myMessage = StringJoin@@Map[ToString,{expr1,expr2,expr3,...,exprN}]

Try this :

myMessage=StringJoin@@Map[ToString[#,FormatType->TraditionalForm]&,
{expr1,expr2,expr3,...,exprN}]



  • Prev by Date: How to get the output of Minimize function in x = a format
  • Next by Date: Re: MemberQ
  • Previous by thread: Re: Using Map with function that has options...
  • Next by thread: Re: Using Map with function that has options...