Sign in Join
Wiki copytemporary

Ansistring/fr

Deutsch · English · Français

Le type de donnée AnsiString n'a aucune limite de taille et se compose d'un tableau de Char (1 octet par caractère).

Définition d'un champ de donnée de type AnsiString :

pascal
 Var 
   a: AnsiString;

Exemples d'affectation valide de valeur :

pascal
   a := '0123ABCabc456';
   a := a + '!"§$%&/()=?';
   a := a + IntToStr(45);

Exemples d'affectation invalide de valeur :

pascal
   a := True;
   a := 4;

Dans ces derniers exemples, la valeur n'a pas été convertie en type AnsiString.


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.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.