Pascal samples. Class types.


uses
  Classes;
var
  l: TStringList;
begin
  l := TStringList.Create;
  l.Add('abc');
  writeln(l[0]);
  writeln(l.Text);
  L.Text := 'pqr';
  writeln(l.Text);
end.


Copyright © 2006-2017 Alexander Baranovsky. All rights reserved.