Subject: using with_stdout using a variable for filename
From: Robert Gloeckner
Date: Sun, 25 Mar 2007 22:02:40 +0200
Hello Robert,
thanks for your superb answer to my question.
On 21.03.2007 04:03, Robert Dodier wrote:
> On 3/20/07, Robert Gloeckner <Robert.Gloeckner at gmx.net> wrote:
> To cut to the chase -- I propose below that with_stdout should
> evaluate its first argument. Yes/no ?
> my_with_stdout (fn, [L]) ::= buildq ([fn:ev(fn), L], with_stdout
> (fn, splice (L)));
>
> e.g.
>
> F (namebase, n) := my_with_stdout (concat (namebase, n), print (foo,
> bar, baz));
> F ("/tmp/foo", 3);
> printfile ("/tmp/foo3");
> => foo bar baz
I am checking this out.
BTW there is an update on the german introduction to Maxima available
at: http://dkicomp.dki.tu-darmstadt.de/~robert/maxima-einfuehrung.htmlhttp://dkicomp.dki.tu-darmstadt.de/~robert/maxima-einfuehrung.pdf.
I fixed some typos & phrases and added some misc stuff (including
my_with_stdout).
Bye,
Robert