Batching with comments



On 6/7/07, George Leeman <george.leeman at sbcglobal.net> wrote:

> My style in using maxima is to produce files with both comments and maxima
> expressions.  The comments express the mathematical thought process, and the
> expressions help carry out the calculations required.  Is there a maxima
> command (which we might call "batchWithComments") which would read and then
> display both comments and expressions and evaluate the expressions?  The
> batch command omits the comments.

I think if you put strings into a batch file, they show up in the
batch output. Probably you'll want to terminate the strings
with a dollar sign instead of a semicolon; the strings would
be displayed twice if terminated with a semicolon, I think.

If you want something more complex than that, maybe you should try TeXmacs.

On an unrelated tangent --- I'm opposed to camelCaseNames.
batch_with_comments would be OK (if we find a need for such a function).

All the best
Robert Dodier