MyChat Scripts: function TStringList.Free, delete a text list from memory

MyChat Scripts: function TStringList.Free, delete a text list from memory

"For developers", "Server scripts", "Functions description", "Strings", "TStringList", "Methods", "Free".

 

A TStringList destructor. Free memory and delete a class variable from memory.

 

Syntax

function TStringList.Free;

 

Function Result

Releases the memory and deletes a previously created class.

 

Example

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

  SL.Free;  
end.

 

See also

TStringList.Create