Changeset 39 for trunk/Demos/Generics/Generics.pas
- Timestamp:
- Feb 25, 2012, 7:41:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Demos/Generics/Generics.pas
r21 r39 5 5 6 6 type 7 TListInteger = T GList<Integer,Integer>;7 TListInteger = TList<Integer>; 8 8 9 9 var 10 List: TList Integer;10 List: TList<Integer>; 11 11 I: Integer; 12 12 begin 13 13 try 14 List := TList Integer.Create;14 List := TList<Integer>.Create; 15 15 List.Add(100); 16 16 finally
Note:
See TracChangeset
for help on using the changeset viewer.