Hi,
Just fishing for comments..

I have been experimenting with error handling, using

        P9 = 1

to force the error:

        Null PMC access in set_integer_native()

(others too, such as "Key not an integer!" or "Array index out of
bounds!").

I have found that:
        newsub P0, .Exception_Handler, _eh
        set_eh P0
        ...
_eh:

does not catch it, whereas

        P0 = _eh()
        set_eh P0
        ...
_eh:

does, however when _eh is called, P5 is just {0,""}.
I'd like to print/know whatever error it was I trapped.

Pete
PS getline always returns 0, and getfile "(unknown file)", though I
suspect people are aware of that.

Reply via email to