ERRNO()

From Recital Documentation Wiki
Revision as of 16:01, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Error Handling and Debugging


Purpose

Function to return Operating System dependent error number


Syntax

ERRNO()


See Also

ERROR(), MESSAGE(), ON ERROR


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 Database Server, Recital Mirage Server, Recital Terminal Developer