Difference between revisions of "ERRNO()"

From Lianjapedia
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[CERROR()]], [[DOSERROR()]], [[ERROR()]], [[MESSAGE()]], [[STRERROR()]]
+
[[CERROR()]], [[DOSERROR()]], [[ERROR()]], [[MESSAGE()]], [[SET ERRORLOGGING]], [[STRERROR()]]
  
 
==Description==
 
==Description==
Line 20: Line 20:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Error Handling and Debugging]]
+
[[Category:Error Handling]]
[[Category:Error Handling and Debugging Functions]]
+

Latest revision as of 07:16, 20 June 2016

Purpose

Function to return Operating System dependent error number

Syntax

ERRNO()

See Also

CERROR(), DOSERROR(), ERROR(), MESSAGE(), SET ERRORLOGGING, STRERROR()

Description

The ERRNO() 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.

Example

if errno()>0
    err = errno()
endif