Caché Language Elements For Error Processing

Language element Explanation

$ECode

$ECode Is empty ("") or set with a standard error code. $ECode
can be set to initiate an error and to check the errorprocessing logic.

$ETrap

$ETrap Contains the (arbitrary) code to be executed after an error.

$ZTrap

$ZTrap Contains a branch address to which a jump is made after an
error and where the processing continues.

$STack

$STack Contains the number of the stack level.

$EStack

$EStack As $STack, but the New command can be used.

$Quit

$Quit Is TRUE (1) when it is invoked in the context of a userdefined function, otherwise 0 in normal subroutines.
Special variables

$ZError

$ZError Caché error code after an error, e.g.,
Label+2^Prog1
Functions $STack Records the routine environment after an error in the
various stack levels.
Commands ZQuit Deletes all or a specified number of stack levels.
ZTrap Can be set in a routine to simulate an error.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值