> 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.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal