A TStringList constructor. Create a list and assign it a variable of the TStringList type.

 

Syntax

function TStringList.Create: TStringList;

 

Function result

The function returns an empty list for working with strings.

 

Example


var
  SL: TStringList;
begin
  SL := TStringList.Create;
  SL.Free;  
end.


See also

TStringList.Free

Created with the Personal Edition of HelpNDoc: Easily Add Encryption and Password Protection to Your PDFs