-----"Robert Dodier" <robert.dodier at gmail.com> wrote: -----
>> Why not allow things like
>>
>> block([], return(3,4,%pi)) --> %pi
>
>I guess I don't really see the point to that; I don't see how any
>generalization of the idea of a return value leads one to consider
>it to be the last in a list of values ... Why not, say, the first one,
>or the middle one?
OK, another idea: make return act like unwind-protect. Then it would
(1) evaluate and return the first and (2) evaluate the remaining even
if evaluating the first signals an error.
I would like to have a Maxima unwind-protect.
BW