DelphiBasics
PString
Type
Pointer to a String value System unit
  type PString = ^String;
Description
The PString type is a pointer to an String value.
 
Since String is itself a pointer, PString is not of much use.
Related commands
AnsiString A data type that holds a string of AnsiChars
PAnsiString Pointer to an AnsiString value
PWideString Pointer to a WideString value
String A data type that holds a string of characters
WideString A data type that holds a string of WideChars
 Author links

 Buy Website Traffic at
 Buywebsitetrafficexperts.com

 Buy Proxies at
 Buyproxies.io
 
 Download this web site as a Windows program.




 
Example code :
// Full Unit code.
// -----------------------------------------------------------
// You must store this code in a unit called Unit1 with a form
// called Form1 that has an OnCreate event called FormCreate.
 
unit Unit1;
 
interface
 
uses
  // The System unit does not need to be defined
  Forms, Dialogs;
 
type
  TForm1 = class(TForm)
    procedure FormCreate(Sender: TObject);
  end;
 
var
  
Form1: TForm1;
 
implementation
{$R *.dfm} // Include form definitions
 
procedure TForm1.FormCreate(Sender: TObject);


 
end.
Hide full unit code
   
Delphi Programming Neil Moffatt 2002 - 2017. All rights reserved.  |  Home Page