Difference between revisions of "ERROR()"

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

Latest revision as of 05:41, 9 September 2024

Purpose

Function to determine the last error encountered

Syntax

ERROR()

See Also

AERROR(), 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