ErrorLevel Function | |
Retrieve and optionally set the X# return code.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION ErrorLevel() AS DWORD
public static uint ErrorLevel()
Request Example
View SourceReturn Value
Type:
DWord
If
dwNewSetting is not specified, ErrorLevel() returns the current setting.
If
dwNewSetting is specified, the previous setting is returned.
Remarks Tip |
---|
After a RUN command, a return value of less than 32 from ErrorLevel(), indicates an error. (Refer to the Windows API WinExec() function for more information.)
|
Examples See Also