Basic Pascal Tutorial/Chapter 2/EOLN and EOF/fr: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Basic Pascal Tutorial/Chapter 2/EOLN and EOF/fr
| Old | New | Line | |
|---|---|---|---|
| 1 | + | [[Basic Pascal Tutorial/fr|Tutoriel de Pascal Objet]] : Entrée/sortie / **Fin de ligne et fin de fichier (EOLN et EOF)** | |
| 2 | + | ||
| 3 | + | `EOLN` est une fonction booléenne qui vaut `TRUE` quand vous avez atteint la fin d'une ligne dans un fichier d'entrée. | |
| 4 | + | ||
| 5 | + | ``` pascal | |
| 6 | + | eoln (file_variable) | |
| 7 | + | ``` | |
| 8 | + | ||
| 9 | + | Si vous voulez tester l'entrée standard (le clavier), appelez `eoln` sans paramètre. Ceci est similaire à la manière par laquelle `read` et `write` utilisent la console (clavier et écran) si elles sont appelées sans paramètre. | |
| 10 | + | ||
| 11 | + | ``` pascal | |
| 12 | + | eoln | |
| 13 | + | ``` | |
| 14 | + | ||
| 15 | + | `EOF` est une fonction booléenne qui est `TRUE` quand vous avez atteint la fin du fichier. | |
| 16 | + | ||
| 17 | + | ``` pascal | |
| 18 | + | eof (file_variable) | |
| 19 | + | ``` | |
| 20 | + | ||
| 21 | + | Généralement, vous n'entrez pas le caractère `end-of-file` au clavier. Sur les machines DOS/Windows, ce caractère est `Control-Z`. Sur les machines Linux/Unix, ce caractère est `Control-D`. | |
| 22 | + | ||
| 23 | + | --- | |
| 24 | + | *From the Free Pascal wiki, page "Basic Pascal Tutorial/Chapter 2/EOLN and EOF/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).* |
