Of course (smack head)! Since playback causes Maxima to print out both
the input and output lines, a writefile/playback/closefile sequence is
exactly what I need. Thank you.
On Thu, Oct 09, 2003 at 12:48:09PM -0700, Richard Fateman wrote:
> I think you can try opening a file and using playback.
> yes, closefile only closes the file that was opened.
> The documentation is wrong.
> RJF
>
>
> Mark Lawrence wrote:
>
> >I guess the subject says it all. My build_info() is:
> >
> >Maxima version: 5.9.0
> >Maxima build date: 21:11 2/9/2003
> >host type: i386-redhat-linux-gnu
> >lisp-implementation-type: CLISP
> >lisp-implementation-version: 2.29 (released 2002-07-25) (built on
> >localhost.localdomain [127.0.0.1])
> >
> >The file that results from writefile("filename") seems to show
> >everything that Maxima writes, but nothing that I write, so I end up
> >with stuff like this
> >
> >(C6)
> > 2 I
> > xx
> >(D6) S = -----
> > h
> > 1
> >(C7)
> > L P
> >(D7) M = ---
> > 4
> >(C8)
> > h L P
> > 1
> >(D8) SIGMA = ------
> > 8 I
> > xx
> >
> >which is not what I would expect from describe(writefile). Is there some
> >setting I can toggle to get my input included?
> >
> >Also, describe(closefile) says you should give the filename as an
> >argument, but closefile() doesn't take an argument--it closes whatever
> >file is currently open.
> >
> >--
> >Mark Lawrence
> >www.unified-eng.com
> >
> >_______________________________________________
> >Maxima mailing list
> >Maxima@www.math.utexas.edu
> >http://www.math.utexas.edu/mailman/listinfo/maxima
> >
> >
>
--
Mark Lawrence
www.unified-eng.com