Sign in Join
Wiki copytemporary

Basic Pascal Tutorial/Chapter 3/REPEAT..UNTIL/fr: what changed

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

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

OldNewLine
1+[[Basic Pascal Tutorial/fr|Tutoriel de Pascal Objet]] : Structures de contrôle / Boucles / **Répéter jusqu'à**
2+
3+La boucle post-test a le format suivant :
4+
5+``` pascal
6+repeat
7+ Instruction1;
8+ Instruction2
9+until BooleanExpression;
10+```
11+
12+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.
13+
14+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.
15+
16+---
17+*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](/wiki-contact).*

Back to history