[Maxima] "read" question

Barton Willis willisb at unk.edu
Sat Jan 27 07:59:16 CST 2007


-----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


More information about the Maxima mailing list