Copie du wikimiroir

Ceci est un miroir du wiki de pascal.chat. La modification, l’historique et la connexion se trouvent là-bas.

Until/fr

Deutsch · Français · Русский

Ce mot-clé est utilisé dans la structure de contrôle Repeat qui est similaire aux boucles While ou For.

Syntax:

text
 repeat
   <statement block>
 until <condition>;

<statement block>: Une unique instruction Pascal ou un bloc d'instruction begin-end.

<condition>: Expression qui retourne une valeur booléenne.

Exemple:

pascal
 x := 1;
 repeat
 begin
   DoSomethingHere(x);
   x := x + 1;
 end;
 until x = 10;

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.

Version 2, dernière modification par WikiArchive .