Until/fr

From Lazarus wiki
Revision as of 08:31, 15 November 2016 by E-ric (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Deutsch (de) English (en) français (fr) русский (ru)

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

Syntax:

 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:

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



Mots-clés: begindoelseendforifrepeatthenuntilwhile