Re: analog ZQ
- From: "Maury Pepper" <mpepper_scram_spam@xxxxxxxx>
- Date: Thu, 23 Oct 2008 10:59:45 -0500
"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."
.
- Follow-Ups:
- Re: analog ZQ
- From: K.S. Bhaskar
- Re: analog ZQ
- References:
- analog ZQ
- From: Rain
- Re: analog ZQ
- From: K.S. Bhaskar
- analog ZQ
- Prev by Date: Re: analog ZQ
- Next by Date: Re: analog ZQ
- Previous by thread: Re: analog ZQ
- Next by thread: Re: analog ZQ
- Index(es):
Relevant Pages
|