Copie du wikimiroir

Ceci est un miroir du wiki de pascal.chat. La modification, l’historique et la connexion se trouvent là-bas.

Punicodechar/fr

Deutsch · English · Français

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

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

pascal
 Var 
   p: PUnicodeChar;

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 "Punicodechar/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.

Version 1, dernière modification par WikiArchive .