Click or drag to resize

DosErrString Function

X#
Return a description string for a DOS error number.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 FUNCTION DosErrString(
	dwError AS DWORD
) AS STRING
Request Example View Source

Parameters

dwError
Type: DWord
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