Goto/fr
From Free Pascal wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
│
Deutsch (de) │
English (en) │
français (fr) │
русский (ru) │
Goto est un saut inconditionnel vers une étiquette précédemment déclarée (soit avant soit après la commande goto).
Exemple de déclaration d'une étiquette et d'emploi de goto :
var
fWaterIsBoiling: Boolean;
label
SwitchOffKettle;
begin
...
if fWaterIsBoiling = True then Goto SwitchOffKettle;
...
SwitchOffKettle:
...
end;