Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lots of errors in exe
Message
De
24/01/2008 01:36:05
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/01/2008 00:59:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01284845
Message ID:
01284856
Vues:
16
>1. ON ERROR < do a valid command, function or procedure call >
>2. ON ERROR
>3. ON ERROR *
>
>#1 turns on an error handler which you've written yourself
>#2 turns off your custom error handler and returns to the default VFP error handler
>#3 tells VFP to do nothing in the event of an error (i.e. don't use the default VFP handler, and don't use any custom one either)
>
>Maybe what you were seeing is the effect of a #3 call rather than a #2 call? If so it can be dangerous and should be used sparingly, if at all.

Actually, if there are no errors at all for a while, think of #3 and check. If it was set, advise everybody to get scared first, then turn #2 or #1 on, run again, and wait for the avalanche.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform