Working with files and strings



Hi maxima users,

I'm using maxima to do long-time computations and it would be (very) nice 
if I could save some variables in runtime.

However, I don't know how to pass a string to a function, so my temporary 
save-files have all the same name. How can I handle this?

I whould like to have a function like this:

mySave( aName, anObject ):= with_stdout( aName, print(anObject) )$

TIA,
-- 
Francisco Coelho
==============================
Departamento de Matematica 
Universidade de Evora
Rua Romao Ramalho, 59
7000-671 Evora
tel. 351 91 900 63 79 
email fc@dmat.uevora.pt
www http://www.dmat.uevora.pt/~fc
==============================