Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error handling
Message
De
04/01/2002 08:00:36
 
 
À
04/01/2002 06:07:46
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00600666
Message ID:
00600687
Vues:
23
<<
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform