"Olaf Doschke" <b2xhZi5kb3NjaGtlQHNldG1pY3MuZGU@[EMAIL PROTECTED]
> wrote:
>> 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 compile with the compile command.
>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.
I do very similarly. When I run the .exe directly (not through
the development system), the source line is not available. message(1)
is do***ented as doing this. I was looking for an alternative.
Sincerely,
Gene Wirchenko
Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


|