Difference between revisions of "DOSERROR()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Helen.george (Talk | contribs) |
||
Line 20: | Line 20: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category:Error Handling | + | [[Category:Error Handling]] |
− | + |
Latest revision as of 10:16, 4 February 2013
Contents
Purpose
Function to return Operating System dependent error number
Syntax
DOSERROR()
See Also
Description
The DOSERROR() function returns the operating system dependent error number for the last error encountered. This is useful for revealing an operating system error which may have caused an error reported by the ERROR() function. The DOSERROR() function is synonymous with the ERRNO() function.
Example
if doserror() > 0 err = doserror() endif