Re: With[{software=Mathematica}, Frustration]

*To*: mathgroup at smc.vnet.net*Subject*: [mg24412] Re: [mg24308] With[{software=Mathematica}, Frustration]*From*: Mark Fisher <me.fisher at atl.frb.org>*Date*: Tue, 18 Jul 2000 00:58:10 -0400 (EDT)*Organization*: Federal Reserve Bank of Atlanta*References*: <vfca5.325$f6.112205@ralph.vnet.net> <8kje58$e45@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

I'm probably not paying enough attention, but what's wrong with the following? Print[ With[{a = 2., b = 3.}, Evaluate[StringForm["a = `1`, b = `2`, c = `3`, Sin[c] = `4`", a, b, c, Sin[c]]] ] ] This could be turned into a function: myPrint[a_, b_] := Evaluate[ StringForm["a = `1`, b = `2`, c = `3`, Sin[c] = `4`", a, b, c, Sin[c]] ] myPrint[2., 3.] --Mark.