Sign in Join
Wiki copytemporary

Basic Pascal Tutorial/Chapter 3/REPEAT..UNTIL/fr

English · Français · Български · 中文(中国) · 日本語

Tutoriel de Pascal Objet : Structures de contrôle / Boucles / Répéter jusqu'à

La boucle post-test a le format suivant :

pascal
repeat
  Instruction1;
  Instruction2
until BooleanExpression;

Dans une boucle repeat, les instructions composées sont natives — vous n'avez pas besoin d'utiliser les begin-end. Aussi, la boucle continue jusqu'à ce que l'expression booléenne soit vérifiée (= TRUE), cela exprime une condition de terminaison.

Cette boucle est appelée post-test car la condition est testée après l'exécution du corps de la boucle. La boucle REPEAT est utile quand vous voulez exécuter au moins une fois la boucle et que la valeur initiale de l'expression booléenne importe peu.


From the Free Pascal wiki, page "Basic Pascal Tutorial/Chapter 3/REPEAT..UNTIL/fr", as it stood on 2022-08-20 after a change by Kai Burghardt, 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.

Revision 1, last changed by WikiArchive .

Edited on wiki.freepascal.org by 6 people, 2014–2022

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
E-ricCreated page
FTurtle
FrigoryRefonte
FrigoryChemin
BartUse pascal highlighter
TrevText replacement - "Object Pascal Tutorial" to "Basic Pascal Tutorial" (minor)
Kai BurghardtKai Burghardt moved page REPEAT..UNTIL/fr to Basic Pascal Tutorial/Chapter 3/REPEAT..UNTIL/fr: tidy up main name space: create subpage hierarchy for basic Pascal tutorial [cf. [[Special: PermaLink/149... (minor)
Kai Burghardtbypass redirects [cf. discussion]
Kai Burghardtbypass language bar/categorization template redirect [cf. discussion] (minor)

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.