Goto Statement

Performs an unconditional branch to the statement following the specified label.

Syntax

Goto Label

.

.

Label:

Comments

The specified label must be declared inside the current code segment (Test or Subroutine) before or after the Goto statement.

Example

If i = 5 Then

Goto TestEnd

Endif

! Program statements

TestEnd:

! other Program statements

See Also

Task, Test