Plus/fr: what changed
Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | \+ | |
| 2 | 2 | ||
| 3 | 3 | Le symbole ***+*** (prononcé "plus") est utilisé pour : | |
| 4 | 4 | ||
| 5 | 5 | - ajouter deux nombres, ce qui donne un autre nombre somme des deux précédents, | |
| 6 | 6 | - ou concaténer deux chaînes de caractères, le résultat est alors une chaînes de caractères. | |
| 7 | 7 | ||
| 8 | - | ||
| 9 | - | ||
| 8 | + | ``` pascal | |
| 9 | + | A := 1 + 3; // -> A = 4 | |
| 10 | + | B := 'two strings ' + 'concatenated'; // -> B = 'two strings concatenated' | |
| 11 | + | ``` | |
| 10 | 12 | ||
| 11 | 13 | --- | |
| 12 | 14 | *From the Free Pascal wiki, page "Plus/fr", as it stood on 2020-05-04 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).* | |
| 13 | 15 | Category: Pascal/fr | |
| 14 | 16 | Category: Symbols/fr |
