Sign in Join
Wiki copytemporary

Ansistring/fr: what changed

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

Title: Ansistring/fr

OldNewLine
1+Le [[Data type/fr|type de donnée]] **AnsiString** n'a aucune limite de taille et se compose d'un tableau de [[Char/fr|Char]] (1 octet par caractère).
2+
3+Définition d'un champ de donnée de type AnsiString :
4+
5+``` pascal
6+ Var
7+ a: AnsiString;
8+```
9+
10+Exemples d'affectation valide de valeur :
11+
12+``` pascal
13+ a := '0123ABCabc456';
14+ a := a + '!"§$%&/()=?';
15+ a := a + IntToStr(45);
16+```
17+
18+Exemples d'affectation invalide de valeur :
19+
20+``` pascal
21+ a := True;
22+ a := 4;
23+```
24+
25+Dans ces derniers exemples, la valeur n'a pas été convertie en type AnsiString.
26+
27+---
28+*From the Free Pascal wiki, page "Ansistring/fr", as it stood on 2019-08-19 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).*
29+Category: Data types
30+Category: Français

Back to history