Pascal Scripting: SysErrorMessage

Prototype:

function SysErrorMessage(ErrorCode: Integer): String;

Description:

Returns a localized error message string that corresponds to the given operating system error code.

Remarks:

Refer to the system error codes on MSDN [external link].