MOO-cows Mailing List Archive


Re: Possible bug

Ron Stanions writes:
> I haven't looked in the source but I would guess this is because raise() acts
> like return in the sense that all it does is return an error datatype, and
> isn't a direct error, with or without the debug flag raised.  It doesn't
> actually pass through the normal error handling operations.

This is not true.  Raising an error is very different from returning it; the
latter operation *never* triggers the error-catching constructs `...' and

The expression (raise(E_DIV)) raises that error in *precisely* the same way
that (1/0) does.



Home | Subject Index | Thread Index