STRERROR()

From Recital Documentation Wiki
Revision as of 10:48, 15 December 2009 by Yvonnemilne (Talk | contribs)

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

Purpose

Function to return description for latest or specified Operating System dependent error number


Syntax

STRERROR([<expN>])


See Also

CERROR(), DOSERROR(), ERRNO(), ERROR(), MESSAGE(), ON ERROR


Description

The STRERROR() function returns the description for the Operating System dependent error number for the last error encountered. If the optional <expN> is specified, STRERROR() will return the description for that error number.


Example

if errno()>0
    err = errno()
    set message to "System error: &err " + strerror()
endif


Products

Recital, Recital Server