Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
[VFP7](Re)setting/not using the AERROR() array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00781438
Message ID:
00784796
Vues:
14
>You might be able to get away with "clearing" the error by generating one of your own:
>
>ERROR "My Error"
>
>This form of the error command will generate an error 1098 with "My Error" as the text. At least that way you could tell if any other code has generated an error after you've "reset" the error to this state.

Yes, using ERROR "My Error" fills the AERROR() routine, but I cannot use for example:

=AERROR( aErrorMsg ) && Save the error (if any)
ERROR "My Error" && Generate a custom error
AERROR = aErrorMsg && Restore the saved error


I want to restore any previous errors, or not use/generate my own error.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform