Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

PWideChar

Deutsch · English · Français

Back to data types.

The PWideChar data type:

Definition of a data field of data type PWideChar:

pascal
  var 
    p : PWideChar;

Examples for the valid assignment of values:

pascal
  p := 'This is a zero-terminated string.' ;
  p := IntToStr(45);

Examples of invalid assignment of values:

pascal
  p := 45;

In the example above, the value to be transferred was not cast to the PWideChar data type.


From the Free Pascal wiki, page "PWideChar", as it stood on 2023-12-22 after a change by Alextpp, 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 3, last changed by WikiArchive .