MathGroup Archive 2006

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

Search the Archive

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


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