On Mon, Oct 10, 2011 at 4:23 PM, Oliver Kullmann
<O.Kullmann at swansea.ac.uk>wrote:
> > we have to use a function which has only a side effect,
> > printing out its result. Is it possible to redirect
> > this output into a string (so that we can process that
> > output)?
> >
> > > Perhaps with_stdout will do what you want?
>
> What would be needed is a string-output-stream (a stream which is not
> a file, but where the output is put into a string), so that we
> do not have to open a file. But I am not aware of such
> a facility in Maxima?
>
> Probably wouldn't be too hard to add such a thing.
But why not just return the string that you would have printed out? (Or
list of strings or whatever).
Ray