Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading file error
Message
From
07/12/1999 19:54:26
 
 
To
07/12/1999 18:58:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00299694
Message ID:
00300143
Views:
24
on error =NephiRtn( Error(), ;
Message(), ;
Message(1), ;
Program(-1), ;
Lineno() )
.
.
.
Function NephiRtn

lParameters ;
lnError, ;
lcMessage, ;
lcMessage1, ;
lcProgram, ;
lnLineno

set console off
=messageBox( "Error # " + alltrim( str( lnError ) ) + ;
" " + lcMessage + chr(13) + ;
lcMessage1 + chr(13) + ;
"Line # " + alltrim( str( lnLineno ) ) + " in " + ;
lcProgram )

return && leave NephiRtn

In the development environment, if your project is compiled with line numbers, you should be able to locate the program, the line of code making the reference and from there determine the file being referenced.
Previous
Reply
Map
View

Click here to load this message in the networking platform