Field-Map Scripting

4.5.1.1 Free

Free procedure


Prototype:

procedure Free;

Description:

Frees a string list.

Syntax:

StringList.Free;


Part

Description


StringList

A reference to an instance of a TStringListWrapper

Return value:

none



Example:


var

 strList : TStringListWrapper;


begin

 //...

 strList := CreateStringList;  // this line creates the StringList, see CreateStringList.

 strList.Add('tree');

 strList.Free;

 //...

end.



See also:

Free; Duplicates; Sorted; CaseSensitive; BeginUpdate; EndUpdate; Add; AddStrings; Assign; Clear; Delete; Count; Exchange; Move; Find; IndexOf; Insert; Sort; LoadFromFile; SaveToFile; Strings; Text; Delimiter; DelimitedText; NameValueSeparator; IndexOfName; Name; Value; AsVarArray