source: trunk/Demos/Generics/Generics.dpr

Last change on this file was 50, checked in by chronos, 13 years ago
  • Modified: Interpretter execution partial implementation.
File size: 252 bytes
Line 
1program Generics;
2
3uses
4 System, List;
5
6type
7 TListInteger = TList<Integer>;
8
9var
10 List: TList<Integer>;
11 I: Integer;
12begin
13 try
14 List := TList<Integer>.Create;
15 List.Add(100);
16 finally
17 List.Free;
18 end;
19end.
Note: See TracBrowser for help on using the repository browser.