ERROR()

From Lianjapedia
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