"read" question



-----maxima-bounces at math.utexas.edu wrote: -----

>When I load it into maxima (either command line
>or xmaxima), it executes as expected.  But, in order to load and
>execute it again, I have to completely restart maxima.  Is there a
>simple way to keep the same session going and simply re-run the
>Interactive.mac file?

Sure, try wrapping the block inside a function; something like

   read_and_print_stuff_until_q() := block( while (foo # "q") do ...)

Barton