Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error message from number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00468523
Message ID:
00468566
Vues:
23
>Methinks I am not being clear today. :)
>
>My whole objective was to avoid having to write a procedure to handle the error. Because this isn't a global error handler, and only used by a snippet of code, I wanted to just have the error assigned to a global variable and process it within the snippet itself.
>
>Since there is apparently no built-in function to retrieve the error message, and I know no way to assign different values to two variables in the same line, I'll just write the error handler program.
>
>Thanks,
>
>Michelle


Try
on error AERROR(aErrorArray)
Then you have aerrorarray(1,1) as errornumber and aerrorarray(1,2) as message
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform