Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lineno() function
Message
De
23/04/2012 19:34:08
 
 
À
23/04/2012 19:15:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01542385
Message ID:
01542388
Vues:
54
>Hi all
>I have a error handler routine witch is called with parameters below in order to treat error an then write it into an TXT file. In development everything runs good but in runtime the lineno() always return 0 (zero). What I'm doing wrong?
>
>On Error Do trata_erros With error( ), Message( ), Message(), Program ( ), Lineno( )

Have you tried LINENO( 1 ) instead of LINENO( ) ?

A guess, but in your Project...Project Info, do you have Debug info unchecked, or Encrypted checked (see attached image)?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform