Delphi Basics
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
 
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
   
 
© CodeGear 2006 - 2007. All rights reserved.  |  Home Page