Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On error
Message
From
03/09/2010 08:47:10
 
 
To
03/09/2010 05:03:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01479802
Message ID:
01479956
Views:
35
>>>I'm using
>>>
>>>ON ERROR DO errHandler WITH ;
>>> ERROR( ), MESSAGE( ), MESSAGE(1), PROGRAM( ), LINENO( )
>>>
>>>but ERROR( ) returns 0 all the time.
>>>
>>>What am I doing wrong.
>>>
>>>Thanks
>>>
>>>Nick
>>
>>If you run the program from the Command Window the ERROR() function will return 0. But if ran from a EXE it will return the expected error code.
>
>Thanks Greg
>
>didn't know that
>but now I do.
>
>Nick

Glad to help
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform