MAINSAIL Language Manual, Section 46.2

previous   next   top   contents   index   framed top   this page unframed


46.2. $raiseReturn

Figure 46–3. $raiseReturn
PROCEDURE   $raiseReturn;

$raiseReturn terminates the execution of the current exception's handler and continues execution at the place where the current exception occurred. If no exception is active, an error occurs and a system exception is raised. If the current exception is one that cannot return ($cannotReturn is set in $exceptionBits), another exception is raised. Calls to $raiseReturn may appear outside the text of a handler, i.e., within a PROCEDURE called by a handler. All active PROCEDUREs invoked as a result of a handler's execution are terminated by a call to $raiseReturn ($abortProcedureExcpt is raised, as usual, in such PROCEDUREs before they terminate).


previous   next   top   contents   index   framed top   this page unframed

MAINSAIL Language Manual, Section 46.2