Difference between revisions of "ERROR()"

From Lianjapedia
Jump to: navigation, search
 
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[ERRNO()]], [[MESSAGE()]]
+
[[ERRNO()]], [[MESSAGE()]], [[SET ERRORLOGGING]]
  
 
==Description==
 
==Description==

Latest revision as of 07:15, 20 June 2016

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