Difference between revisions of "ERROR()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 30: Line 30:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Error Handling and Debugging]]
 +
[[Category:Error Handling and Debugging Functions]]

Revision as of 16:13, 1 June 2009

Class

Error Handling and Debugging


Purpose

Function to determine the last error encountered


Syntax

ERROR()


See Also

ERRNO(), MESSAGE(), ON ERROR


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


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer