DelphiBasics
PAnsiString
Type
Pointer to an AnsiString value System unit
  type PAnsiString = ^AnsiString;
Description
The PAnsiString type is a pointer to a AnsiString value.
 
Since AnsiString is itself a pointer, PAnsiString is not of much use.
Related commands
AnsiString A data type that holds a string of AnsiChars
String A data type that holds a string of characters
 Download this web site as a Windows program.

Development Boards at very low prices with free postage.


 
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 - 2014. All rights reserved.  |  Contact the author  |  Home Page