Difference between revisions of "ERROR()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to determine the last error encountered
 
Function to determine the last error encountered
 
  
 
==Syntax==
 
==Syntax==
 
ERROR()
 
ERROR()
 
  
 
==See Also==
 
==See Also==
[[ERRNO()]], [[MESSAGE()]], [[ON ERROR]]
+
[[ERRNO()]], [[MESSAGE()]]
 
+
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 21: Line 17:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Error Handling and Debugging]]
 
[[Category:Error Handling and Debugging]]
 
[[Category:Error Handling and Debugging Functions]]
 
[[Category:Error Handling and Debugging Functions]]

Revision as of 09:00, 10 February 2012

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