Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On error
Message
De
03/09/2010 08:47:10
 
 
À
03/09/2010 05:03:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01479802
Message ID:
01479956
Vues:
36
>>>I'm using
>>>
>>>ON ERROR DO errHandler WITH ;
>>> ERROR( ), MESSAGE( ), MESSAGE(1), PROGRAM( ), LINENO( )
>>>
>>>but ERROR( ) returns 0 all the time.
>>>
>>>What am I doing wrong.
>>>
>>>Thanks
>>>
>>>Nick
>>
>>If you run the program from the Command Window the ERROR() function will return 0. But if ran from a EXE it will return the expected error code.
>
>Thanks Greg
>
>didn't know that
>but now I do.
>
>Nick

Glad to help
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform