how to redirect printout into string?



> 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?

Thanks!

Oliver

-- 
Dr. Oliver Kullmann
Department of Computer Science
College of Science, Swansea University
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs.swan.ac.uk/~csoliver/