Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON ERROR DO what_err WITH ERROR(), ... - ERROR() = 0
Message
De
24/09/1999 11:13:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
ON ERROR DO what_err WITH ERROR(), ... - ERROR() = 0
Divers
Thread ID:
00268523
Message ID:
00268523
Vues:
46
In a driver program I have

ON ERROR DO what_err WITH ERROR(),MESSAGE(),PROGRAM(),LINENO(),MESSAGE(1)

BRSWX && invalid command

and in what_err I have

LPARAMETERS lnError, lcMessage, lcProgram, lnLineNo, lcCode
LOCAL laErrData
DECLARE laErrData[1]

ON ERROR *
= AERROR(laErrData)

RETURN

Problem ERROR always returns 0, laErrData[1,1] returns 16 as expected.

Works in FPW 2.6. What am I doing wrong?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform