goto

From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Category

Statements

Syntax

goto <identifier> ;

Description

Use the goto statement to transfer control to the location of a local label specified by <identifier>.

Labels are always terminated by a colon.


Example

This example illustrates the use of the keyword goto.

Again:       /* this is the label */

;
.
.
.

goto Again;