Sign in Join
Wiki copytemporary

Goto/fr: what changed

Revision 1 to 2. 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).
2-
3-Exemple de déclaration d'une étiquette et d'emploi de 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).
42
5-``` pascal
3+Exemple de déclaration d'une étiquette et d'emploi de goto :
4+```
65var
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;
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;
1918```
2019
2120---
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).*
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).*

Back to history