[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.40 $ZTRAP

Sets or retrieves the entryref to be executed when an M program execution error occurs under FreeM-style or DSM 2.0-style error processing.

In FreeM-style error processing, $ZTRAP is specific to each program execution stack level.

In DSM 2.0-style error processing, $ZTRAP is the same for all program execution stack levels.

When FreeM encounters an error, if $ZTRAP is nonempty and $ETRAP is empty, FreeM will perform an implicit GOTO to the entryref indicated in $ZTRAP.

If $ETRAP is nonempty when FreeM encounters an error, the value of $ZTRAP is ignored, whether FreeM-style or DSM 2.0-style error processing is enabled.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by root on October 14, 2020 using texi2html 1.82.