[Next] [Up] [Previous]

The GO_TO Statement

GO_TO
GOTO
GO

A GO_TO statement has the form

       GO_TO statement-number

and transfers control to the statement whose statement-number is given. For example,

       GO_TO 25

transfers control to the line with 25 as its label.

Statements within statement brackets can be targets of a GO_TO from outside these brackets, and a GO_TO can occur at any point within such brackets to a point outside them. This is possible because a sequence can only contain executable statements, and cannot contain type declaration statements for the creation of local variables.


[Next] [Up] [Previous]