Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On error
Message
From
03/09/2010 05:03:45
 
 
To
02/09/2010 14:34:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01479802
Message ID:
01479946
Views:
42
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform