Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






GoTo statement

Transfers control within a procedure to a labeled statement.

Syntax

GoTo label

Elements

label

A label of a statement to which you want to transfer control.

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.

See examples

Examples: GoTo statement
Related topics
LotusScript Language Reference: E through H
Labels
On...GoTo statement
On Error statement
GoSub statement




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009