Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON ERROR mystery
Message
De
11/08/2005 11:25:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01040132
Message ID:
01040266
Vues:
16
Hi Cyrus.

>- My prg1.prg uses bunch of "ON ERROR do errhand" commands to perform specific functions (add accounts, items, etc. when they don't exist).

To add to what Peter and Fabio have said, how about using TRY ... CATCH rather that ON ERROR? It provides true local error handling. You need to have VFP 8 or later.

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform