Does stringout work?



I suspect your lisp is somehow not understanding
your file specification, and also you are
not using stringout correctly.

 Try a full name without ~ .

stringout("foofile",c1,d1,d2,c2);
is the syntax.

richard noel fell wrote:
> 
> On redhat 7.1 with maxima-5.6, stringout does not seem to work. First of
> all, it complains when I try to specify a file. For instance,
> (c1) integrate(x^2,x)$
> (c2) stringout("~/maxima/scratch/temp.bat",c1);
> Error: cannot create file  ~/maxima/scratch/temp.bat,
> ....
> 
> Next, I try stringout without any file specification.
> (c1) integrate(x^2,x)$
> (c2) stringout(c1);
> (d2)                    /home/rfell/c1;
> 
> But, the file c1 is empty.
> 
> I think my snytax is correct as this syntax works with commercial
> Macsyma on windows 2000.
> Thanks,
> Dick Fell
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima