Sign in Join
Wiki copytemporary

Pwidechar/fr: what changed

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

Title: Pwidechar/fr

OldNewLine
1+Le [[Data type/fr|type de donnée]] **PWideChar** n'a pas de limitation de taille et est un pointeur sur une chaîne [[Widestring/fr|Widestring]] terminée par Null.
2+
3+Définition d'un champ de donnée de type PWideChar :
4+
5+``` pascal
6+ Var
7+ p: PWideChar;
8+```
9+
10+Exemples d'affectation de valeurs correctes :
11+
12+``` pascal
13+ p := 'Dies ist ein Null-terminierter String.';
14+ p := IntToStr(45);
15+```
16+
17+Exemple d'affectation de valeur incorrecte :
18+
19+``` pascal
20+ p := 45;
21+```
22+
23+Dans l'exemple ci-dessus, la valeur à affecter n'a pas été convertie en Punicodechar (cast).
24+
25+---
26+*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](/wiki-contact).*

Back to history