Difference between revisions of "MESSAGE()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 36: | Line 36: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Error Handling and Debugging]] | ||
+ | [[Category:Error Handling and Debugging Functions]] |
Revision as of 16:14, 1 June 2009
Class
Error Handling and Debugging
Purpose
Function to return last error encountered message
Syntax
MESSAGE([<expN>])
See Also
Description
The MESSAGE() function returns a character string describing the last error encountered. The optional parameter <expN> must result in 1, and when used will cause MESSAGE() to return the last program line which caused an error.
Example
set exclusive off on error * use payroll if not used() msg=message() dialog box "&msg.. Press any key to continue." endif set exclusive on
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer