Sign in Join
Wiki copytemporary

Revision 1 of 1, by Trev on 2-23-2020. The page as it is now.

Pwidechar/fr

Le type de donnée PWideChar n'a pas de limitation de taille et est un pointeur sur une chaîne Widestring terminée par Null.

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

pascal
 Var 
   p: PWideChar;

Exemples d'affectation de valeurs correctes :

pascal
   p := 'Dies ist ein Null-terminierter String.';
   p := IntToStr(45);

Exemple d'affectation de valeur incorrecte :

pascal
   p := 45;

Dans l'exemple ci-dessus, la valeur à affecter n'a pas été convertie en Punicodechar (cast).


From the Free Pascal wiki, page "Pwidechar/fr", as it stood on 2020-02-23 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.