PWideChar

Back to data types.

The PWideChar data type:

Definition of a data field of data type PWideChar:

  var 
    p : PWideChar;

Examples for the valid assignment of values:

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

Examples of invalid assignment of values:

  p := 45;

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