commented lines freeze xmaxima



Fabrizio Caruso  writes:

> Whenever I load ("batch file") a file containing a comment
> in its last line, xmaxima would freeze.

This seems to be fixed as a by-product of the new streams setup I have
recently proposed (for CVS Maxima).

http://www.math.utexas.edu/pipermail/maxima/2005/009681.html

So, $batch would just return, which is the same behaviour as for the
command line version of maxima, of course.

I think that, in principle, batching a file should have the same
effect as typing the corresponding lines in the Maxima top-level
(which, incidentally, explains why $batch normally doesn't return).

With this in mind, a trailing comment is a bit special... 

Meanwhile, as a work-around you could just enter a `;'.  Maxima will
complain about bad syntax, though.

Wolfgang