ERROR()

From Lianjapedia
Revision as of 06:15, 20 June 2016 by Yvonne.milne (Talk | contribs)

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

Purpose

Function to determine the last error encountered

Syntax

ERROR()

See Also

ERRNO(), MESSAGE(), SET ERRORLOGGING

Description

The ERROR() function returns a number representing the last error encountered. A zero return value indicates that no error has been encountered. The MESSAGE() function can be used to get further information.

Example

? error()
         0