Difference between revisions of "RETRY"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
(No difference)
|
Revision as of 13:21, 16 March 2009
Contents
RETRY
Class
Error Handling and Debugging
Purpose
Retry a command after an error was encountered
Syntax
RETRY
See Also
ON ERROR, RETURN, ERROR(), ERRNO(), MESSAGE()
Description
The RETRY command re-executes a command that was reported as being in error. It is used in conjunction with the ON ERROR command.
Example
procedure file_open if error() = 15 .and. errno() = 11 dialog message message()+ ". Retry?" if lastkey() = asc("Y") retry endif endif return on error do file_open use accounts exclusive on error
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer