Sign in Join
Wiki copytemporary

Revision 1 of 2, by E-ric on 11-15-2016. The page as it is now.

Until/fr

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;


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.