LOTUSSCRIPT LANGUAGE


Resume statement
Example

Directs LotusScript to resume script execution at a particular statement in a script, after an error has occurred.

Syntax

Resume [ 0 | Next | label ]

Elements

0


Next
label
Usage

Use the Resume statement only in error-handling routines; once LotusScript executes the Resume statement, the error is considered handled.

Resume continues execution within the procedure where it resides. If the error occurred in a procedure called by the current procedure, and the called procedure didnft handle the error, then Resume assumes that the statement calling that procedure caused the error:


The Resume statement resets the values of the Err, Erl, and Error functions.

Example
See Also