ErrString Function | |
Return an error message associated with a system-generated error code.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION ErrString(
dwNewReturnCode AS DWORD
) AS STRING
public static string ErrString(
uint dwNewReturnCode
)
Request Example
View SourceParameters
- dwNewReturnCode
- Type: DWord
The error code exported by an error object.
Return Value
Type:
String
The message string associated with the error code. Error messages are nation-dependent.
Remarks Examples
This example displays the error message associated with a protection error:
1FUNCTION Start()
2 QOut("EG_PROTECTION:", ErrString(EG_PROTECTION))
See Also