Sign in Join
Wiki copytemporary

Revision 1 of 1, by Trev on 8-19-2019. The page as it is now.

Ansistring/fr

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.