goto

De RAD Studio
Aller à : navigation, rechercher

Remonter à Liste alphabétique des mots clés - Index


Catégorie

Instructions

Syntaxe

goto <identifier> ;

Description

Utilisez l'instruction goto pour transférer le contrôle à l'emplacement d'un label local spécifié par <identificateur>.

Les labels se terminent toujours par deux-points (:).

Exemple

Cet exemple illustre l'emploi du mot clé goto.

Again:       /* this is the label */

;
.
.
.

goto Again;