General information
Category:
Coding, syntax & commands
<<
Hi Paul in your error routine you can issue a return to master or return to «procname».
>Is there any way I can get an Error handler to stop the processing of the original procedure/function (i.e. that caused the error), without having to use a global flag.
>>
Hi Alex,
What i'm trying to get is the ability to stop the entire process. Even if a return to MASTER or to a parent procedure I still carry on processing that procedure and have to trap whether something has gone wrong. In case of an error I want out..stop..finito.
What I really want to do is what I do in VB i.e.
on error goto errlabel
do something
errlabel:
exit sub
Actually what I really really want is a try, catch, finally error handler like delphi or .net, but I'm gonna have to wait for that methinks.
Cheers, Pablo
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only