Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with MESSAGE(1)
Message
 
À
27/07/2000 00:42:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00397439
Message ID:
00397500
Vues:
16
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform