Sign in Join
Wiki copytemporary

Goto/fr: what changed

Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
1-**Goto** est un saut inconditionnel vers une [[Label/fr|étiquette]] précédemment déclarée (soit avant soit après la commande goto).
1+**Goto** est un saut inconditionnel vers une [[Label/fr|étiquette]] précédemment déclarée (soit avant soit après la commande goto).
22
3-Exemple de déclaration d'une étiquette et d'emploi de goto :
4-```
3+Exemple de déclaration d'une étiquette et d'emploi de goto :
4+
5+``` pascal
56var
6- fWaterIsBoiling: Boolean;
7-
8- label
9- SwitchOffKettle;
10-
11- begin
12- ...
13- if fWaterIsBoiling = True then Goto SwitchOffKettle;
14- ...
15- SwitchOffKettle:
16- ...
17- end;
7+ fWaterIsBoiling: Boolean;
8+
9+label
10+ SwitchOffKettle;
11+
12+begin
13+ ...
14+ if fWaterIsBoiling = True then Goto SwitchOffKettle;
15+ ...
16+SwitchOffKettle:
17+ ...
18+end;
1819```
1920
2021---
21-*From the Free Pascal wiki, page "Goto/fr", as the Internet Archive kept it on 2023-01-31. 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](/wiki-contact).*
22+*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](/wiki-contact).*

Back to history