Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error handling
Message
From
04/01/2002 08:00:36
 
 
To
04/01/2002 06:07:46
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00600666
Message ID:
00600687
Views:
22
<<
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
Map
View

Click here to load this message in the networking platform