Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On error-lineno()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00227975
Message ID:
00228245
Views:
16
>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!

Along with the help from Josh, you need to make sure you compile the app with the the DEBUG option checked in the Project Info.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform