how to write in a block(?) a very long "block", of statements



On 5/30/07, Michel Van den Bergh <michel.vandenbergh at uhasselt.be> wrote:
>
> Sometimes I wonder if ev should not be simply recursive (even in the
> read-eval-print loop).
> I.e. keep on evaluating until no further evaluation is possible. If I
> remember correctly Maple does it that way.


You can set the global variable infeval:true if you prefer this behavior.

If I am not mistaken Maple detects situations like x:x+1 when x is
> unbound and gives an error.
>

It is true that Maxima does not detect this case.  If we can have a precise
description of what Maple does, we could no doubt do the same thing.

As for me, I still recommend avoiding ev except in the simplest interactive
cases.

            -s