restart script

Examples


The restart script statement restarts the current script after an exception. This statement is valid only in the catch or else blocks of the try...end try statement.

Syntax

restart script

Parameters

None

Comments

The restart script statement is used in structured exception handling to re-execute statements after an exception has occurred. It simply begins executing sanScript statements at the beginning of the script. Local variables and parameters passed into the script retain the values they had prior to the restart script statement.


Documentation Feedback