> text of the error line when running under the run-time. I have come
> to the conclusion that there is no way to do it.
I use Message(1) since 7 Years (even in VFP6),
and if you compile with "Debug info" it does give
you the source code line. Maybe you also need to
uncheck "encrypted", haven't tested that.
I call my error handler with:
On Error Do ErrorHandling With Error( ), Message( ), Message(1), Program(
),
Lineno( ), Lineno(1)
Additional I use AERROR() and ASTACKINFO() within the handler.
And Astackinfo also returns the code, not just the line number, the help
also tells you, that in column 6 of the ASTACKINFO result array you get
source line contents. It works.
Bye, Olaf.


|