[sen1 at math.msu.edu, Sat, 27 Jan 2007 08:34:38 -0500 (EST)]:
> Hello,
>
> I have the file "Interactive.mac" containing the single block statement.
...
> 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?
Change the line
block( while (foo # "q") do
to
block([foo], while (foo # "q") do
in order to avoid setting foo globally.
Or kill(foo); before loading.
Albert.