ERRNO()

From Lianjapedia
Revision as of 10:17, 4 February 2013 by Helen.george (Talk | contribs)

Jump to: navigation, search

Purpose

Function to return Operating System dependent error number

Syntax

ERRNO()

See Also

CERROR(), DOSERROR(), ERROR(), MESSAGE(), 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