Goto/fr
Deutsch · English · Français · Русский
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;From the Free Pascal wiki, page "Goto/fr", as it stood on 2020-02-16 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.
Edited on wiki.freepascal.org by 2 people, 2016–2020
From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.
| When | Who | What changed |
|---|---|---|
| E-ric | Created page | |
| Trev | Fixed syntax highlighting; deleted category included in page template (minor) |
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
