Imre Leber schrieb:

>> The error message "undefined problem" is not very good. The user is 
>> uncertain 
>> about the severity of the problem and if data has been lost. Some additional 
>> infos about the drive's state after the error would be good.
> 
> There must be close to 1000 "return FALSE"'s in there. Adding a message for 
> all of them would be prohibitive for the program size alone.

Simply return a sensible value instead of a simple "false". And you 
don't even have to create individual messages for each possible error 
exit. Assign error codes and, in case of error, return them as exit 
codes. Easy to implement, keeps a lean exe file, and DOS users are 
usually able to retrieve the errorlevel and report it to you.

If there are thousands of places where Defrag can fail, you'll be busy 
forever and a day with searching for the needle in the hay.

This somehow reminds me of the days back then, when recordable CDs were 
around five to ten bucks each. Tried the Nero OEM version that came with 
my new CD writer and received a coaster, along with the very elaborate 
error message "An error occurred." :D

Best regards,
Andre


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to