Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Formatting Output
Posted:
Nov 23, 1996 1:03 AM


I want a combination of string and expression written to a file. The output from a Print command is exactly what I want:
In[42]:= gm=Cos[theta]; In[43]:= Print["gm(",12,",",12,")=",FortranForm[gm]];
gm(12,12)=Cos(theta)
Does anyone know how to get that same output written to a file?
Susan Rempe rempe@u.washingtonn.edu



