I want to implement a generic class TB, which inherits from another generic class, TA as shown below
base = class(Tobject)
public
procedure test1( x : integer ); virtual;
end;
generic TA<T>= class (base )
public
procedure test1( x : T ); overload;
end;
generic TB< T, Y >= class (TA<T>)
public
procedure test1( addParameter1 : T ; addParameter2 : Y ); overload;
end;
But it does not work! Any idea how I can do that.
Tis not defined inbase, andgenericis not a keyword.