Siebel VB Language Reference > Siebel VB Language Reference >

Resume Statement


This standard VB statement halts an error-handling routine.

Syntax A

Resume Next

Syntax B

Resume label

Syntax C

Resume [0]

Argument
Description
label
The label that identifies the program line to go to after handling an error

Returns

Not applicable

Usage

When the Resume Next statement is used, control is passed to the statement that immediately follows the statement in which the error occurred.

When the Resume [0] statement is used, control is passed to the statement in which the error occurred.

The location of the error handler that has caught the error determines where execution resumes. If an error is trapped in the same procedure as the error handler, program execution resumes with the statement that caused the error. If an error is located in a different procedure from the error handler, program control reverts to the statement that last called out the procedure containing the error handler.

See Also

Erl Function
Err Function
Err Statement
Error Function
Error Statement
On Error Statement
Trappable Errors


 Siebel VB Language Reference
 Published: 18 June 2003