program Generics; uses System, List; type TListInteger = TList; var List: TList; I: Integer; begin try List := TList.Create; List.Add(100); finally List.Free; end; end.