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}]
- References:
- Using Map with function that has options...
- From: "Giacomo Ciani" <giacomo.ciani@gmail.com>
- Using Map with function that has options...