Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with MESSAGE(1)
Message
 
To
27/07/2000 00:42:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00397439
Message ID:
00397500
Views:
17
>>I have a global error handler for my application.
>>
>>on error do error_handler
>>
>>...
>>
>>procedure error_handler
>>linedesc = message(1)
>>
>>Being in IDE message(1) returns a correct description of the line executed ; but when we run .exe from Explorer it is either empty or something strange ( couldn't figure out such a line existsthe .
>>.Exe is built with debug checked.
>>
>>Is this expected behaviour ?
>>
>>Thank you.
>>Michael
>
>Forgot to mention, it is VFP5

MESSSAGE(1) only returns the complete line that caused the error if the source code is available. Normally, this isn't the case at runtime. See the help file for what's returned when it (source code) isn't. Largely, it's dependent on the nature of the line that caused the error.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform