Difference between revisions of "DOSERROR()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 32: | Line 32: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Error Handling and Debugging]] | ||
+ | [[Category:Error Handling and Debugging Functions]] |
Revision as of 14:57, 2 June 2009
Class
Error Handling and Debugging
Purpose
Function to return Operating System dependent error number
Syntax
DOSERROR()
See Also
ERRNO(), ERROR(), MESSAGE(), ON ERROR
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() set message to "System error: &err" endif
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer