Sign in Join
Wiki copytemporary

Until/fr: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Until/fr

OldNewLine
1+Ce [[Keyword/fr|mot-clé]] est utilisé dans la structure de contrôle [[Repeat/fr|Repeat]] qui est similaire aux boucles [[While/fr|While]] ou [[For/fr|For]].
2+
3+Syntax:
4+
5+` `**`repeat`**\
6+` `**`<statement block>`**\
7+` `**`until <condition>;`**
8+
9+\<statement block\>: Une unique instruction Pascal ou un bloc d'instruction begin-end.
10+
11+\<condition\>: Expression qui retourne une valeur booléenne.
12+
13+Exemple:
14+
15+` `**`x := 1;`**\
16+` `**`repeat`**\
17+` `**`begin`**\
18+` `**`DoSomethingHere(x);`**\
19+` `**`x := x + 1;`**\
20+` `**`end;`**\
21+` `**`until x = 10;`**
22+
23+---
24+*From the Free Pascal wiki, page "Until/fr", as it stood on 2016-11-15 after a change by E-ric, 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