Difference between revisions of "ERROR()"

From Lianjapedia
Jump to: navigation, search
Line 19: Line 19:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Error Handling and Debugging]]
+
[[Category:Error Handling]]
[[Category:Error Handling and Debugging Functions]]
+

Revision as of 10:17, 4 February 2013

Purpose

Function to determine the last error encountered

Syntax

ERROR()

See Also

ERRNO(), MESSAGE()

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