Re: analog ZQ



"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."

.



Relevant Pages

  • Re: analog ZQ
    ... next higher execution level as if the error had not been trapped at the ... suppose your error handler is prepared to handle a ... "ZQ expression unwinds the stack to another call stack level with a $ZTRAP ... 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: 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)
  • Re: VB6 Error Handling
    ... Okay, totally irrelevant .NET debates aside, the answer to your question is that VB6 only minimally supports error handling by bubbling up the call stack. ... This will then trigger the parent's error handler, which can trigger it's parent's, and so on. ...
    (microsoft.public.vb.general.discussion)
  • Re: VB6 Error Handling
    ... They bubble up to the point where your VB code starting running. ... error handler, an error gets back to it, it will go back into the VB runtime, ... contains Form.Show is *not* in effect for the Form_Load event handler of the new ... You can see this in the VB call stack in debug mode, ...
    (microsoft.public.vb.general.discussion)