Information générale
Catégorie:
Codage, syntaxe et commandes
TRY THIS
CLOSE ALL
CLEAR EVENTS
QUIT
HOPE THIS HELPS.
BECKY
>I'm trying to capture all the anticipated errors in my programs and, for the errors that slip through, I have an ON ERROR procedure called BadError:
>
>PROCEDURE BadError
>
>=MESSAGEBOX(error message and number code here)
>CLEAR EVENTS
>
>ENDPROC
>
>The only problem is that CLEAR EVENTS doesn't clear events - the program continues to run as though nothing happened after the message box is displayed.
>
>Any ideas how to force my program to quit back to Windows?
>
>David Turnedge
>Sydney, Australia
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement