Difference between revisions of "ERRNO()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Error Handling and Debugging
 
 
  
 
==Purpose==
 
==Purpose==
Line 12: Line 9:
  
 
==See Also==
 
==See Also==
[[ERROR()]], [[MESSAGE()]], [[ON ERROR]]
+
[[CERROR()]], [[DOSERROR()]], [[ERROR()]], [[MESSAGE()]], [[ON ERROR]], [[STRERROR()]]
  
  
Line 29: Line 26:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Error Handling and Debugging]]
 
[[Category:Error Handling and Debugging]]
 
[[Category:Error Handling and Debugging Functions]]
 
[[Category:Error Handling and Debugging Functions]]

Latest revision as of 16:35, 30 October 2009

Purpose

Function to return Operating System dependent error number


Syntax

ERRNO()


See Also

CERROR(), DOSERROR(), ERROR(), MESSAGE(), ON ERROR, 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()
    set message to "System error: &err"
endif


Products

Recital, Recital Server