Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ERROR PATH
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01421329
Message ID:
01421374
Vues:
36
>thanks this is something naomi had referred me too as well. i was trying to trim down data that it was supplying actually - more information than i need. So i have found a happy medium editing that program down and adding instead of astackinfo(), rather sys16() so:
>
>STORE 1 TO gnX
>DO WHILE LEN(SYS(16,gnX)) != 0
> ? SYS(16,gnX)
> STORE gnX+1 TO gnX
>ENDDO
>
>***then to find the error line.
>
>PARAMETERS gnBadLine
>? 'Error occurred at line: ' + ALLTRIM(STR(gnBadLine))
>
>
>k

You can get line no with LINENO() function. You would need to build your application with Debug option checked.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform