Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On error-lineno()
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
On error-lineno()
Divers
Thread ID:
00227975
Message ID:
00227975
Vues:
60
I am trying to catch errors using
on error do catcherr where catcherr.prg contains:
"str(ERROR( ))+MESSAGE( )+str(LINENO( ))+pROGRAM( )"

but the lineno() reports back the lineno of catcherr, not where the error actually happens!
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform