Click or drag to resize

DosErrString Function

Return a description string for a DOS error number.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.5
Syntax
 FUNCTION DosErrString(
	dwError AS DWORD
) AS STRING

Parameters

dwError
Type: UInt32
The DOS error number that you want a description for.

Return Value

Type: String
Remarks
Examples
The following example displays the DOS error code as a string:
X#
1FUNCTION Start()
2    Dir AA:                        // Bad device
3    QOut(DOSErrString(DOSError()))    
4                                    // Path not found
See Also