"For developers", "Server scripts", "Functions description", "Strings", "TStringList", "Methods", "Clear".
Clear the list of strings of the TStringList class.
procedure TStringList.Clear;
var
SL: TStringList;
begin
SL := TStringList.Create;
SL.Append('One, two, three...');
mLogScript(SL.Text, 'Before');
SL.Clear;
mLogScript(SL.Text, 'After');
SL.Free;
end.
[17:09:01] (Log "ClearMethod"): [Before] One, two, three...
[17:09:01] (Log "ClearMethod"): [After]
[17:09:01] (Run "ClearMethod"): Script operation time: 5 ms
[17:09:01] (Run "ClearMethod"): Script done successfully.