Re: analog ZQ



On Oct 23, 11:59 am, "Maury Pepper" <mpepper_scram_s...@xxxxxxxx>
wrote:
"K.S. Bhaskar" wrote
On Oct 17, 1:28 am, Rain <frolov...@xxxxxxxxxxx> wrote:

Whether there is an analogue of command ZQ in GT.M.
What is ZQ?

In MSM, it is used in an error trap: "Error processing will continue at the
next higher execution level as if the error had not been trapped at the
current level."

For example, suppose your error handler is prepared to handle a <DSCON>
error, but that's not what caused the error, then ZQUIT will allow a
higher-level error handler to take over.

In Cache:
 "Argumentless ZQUIT clears the entire stack."
  "ZQ expression unwinds the stack to another call stack level with a $ZTRAP
error handler. The value of expression specifies the number of
handler-specified stack levels ZQUIT unwinds. If you use 1 as expression,
Caché unwinds the stack to the first encountered $ZTRAP handler. If you use
2 as expression, Caché unwinds the stack to the second encountered $ZTRAP
handler, and so on."

[KSB] Thanks Maury. Looks like Chris' response was the right one.

Regards
-- Bhaskar
.



Relevant Pages

  • Re: analog ZQ
    ... next higher execution level as if the error had not been trapped at the current level." ... For example, suppose your error handler is prepared to handle a error, but that's not what caused the error, then ZQUIT will allow a higher-level error handler to take over. ... "ZQ expression unwinds the stack to another call stack level with a $ZTRAP error handler. ... The value of expression specifies the number of handler-specified stack levels ZQUIT unwinds. ...
    (comp.lang.mumps)
  • Re: Question about TUCK
    ... However, it may interfere with the stack management Windows employs, ... an exception that's trapped by Windows, which does the commit and ... The default error handler either asks the ...
    (comp.lang.forth)
  • Re: ddb(4) spoils kernel stack in CURRENT?
    ... kernel options COMPAT_43TTY, COMPAT_FREEBSD6, INVARIANTS, INVARIANT_SUPPORT, ... No differences - kgdb successfully ... unwinds the stack under RELENG_6. ...
    (freebsd-current)
  • Re: ddb(4) spoils kernel stack in CURRENT?
    ... INVARIANTS* ... unwinds the stack under RELENG_6. ... Could you further localize the problem, i.e. try to backtrace CURRENT dump ...
    (freebsd-current)
  • Re: VB6 Error Handling
    ... I just need a general error handler that will ... You can define a single function that will be called when ... In this function you get access to the stack ...
    (microsoft.public.vb.general.discussion)