Identifier/fr: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Identifier/fr
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Un **identificateur** est un symbole utilisé dans un [[Pascal/fr|Pascal]] [[Program/fr|programme]] qui est constitué de lettres, chiffres et de certains caractères spéciaux, utilisé pour indiqué spécifiquement une [[Variable/fr|variable]], une [[Const/fr|constante]], un [[Object/fr|objet]], un [[Record/fr|enregistrement]], un [[Type/fr|type]], une [[Procedure/fr|procédure]] ou une [[Function/fr|fonction]]. | |
| 2 | + | ||
| 3 | + | Par exemple, dans le morceau de code suivant: | |
| 4 | + | ||
| 5 | + | ``` pascal | |
| 6 | + | program WittsEnd; | |
| 7 | + | const | |
| 8 | + | Y=2; | |
| 9 | + | var | |
| 10 | + | Plugh: Integer; | |
| 11 | + | ||
| 12 | + | procedure Xyzzy; | |
| 13 | + | begin | |
| 14 | + | end; | |
| 15 | + | ||
| 16 | + | begin | |
| 17 | + | Plugh := Y*2; | |
| 18 | + | end. | |
| 19 | + | ``` | |
| 20 | + | ||
| 21 | + | Nous pouvons dire que | |
| 22 | + | ||
| 23 | + | - WittsEnd | |
| 24 | + | - Y | |
| 25 | + | - Plugh | |
| 26 | + | - Xyzzy | |
| 27 | + | ||
| 28 | + | sont tous des identificateurs. | |
| 29 | + | ||
| 30 | + | --- | |
| 31 | + | *From the Free Pascal wiki, page "Identifier/fr", as it stood on 2020-02-17 after a change by Trev, 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).* |
