[fpc-pascal] Does FPC has consts of portable OS error codes?
leledumbo_cool at yahoo.co.id
Wed May 12 10:58:09 CEST 2010
> Any reason for that? or it is not implemented yet?
For me: it's not required. The purpose of error code is to provide
information so we can handle it correctly, or at the simplest case, to
display to user what has happened. For the first one, usually errors in FPC
generate exception, you can handle that instead. For the second, a
combination of GetLastOSError and SysErrorMessage provides what's needed.
View this message in context: http://old.nabble.com/Does-FPC-has-consts-of-portable-OS-error-codes--tp28531773p28533509.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal