LOTUSSCRIPT LANGUAGE


GoTo statement
Example

Transfers control within a procedure to a labeled statement.

Syntax

GoTo label

Elements

label


Usage

You can't use the GoTo statement at the module level; you can only use it in a procedure. You can't use GoTo to transfer control into or out of a procedure or a With...End With block.

Use the GoTo statement to transfer control to any labeled statement that does not violate either of the preceding rules.

Example
See Also