Hi,

Suppose I have a generic class like this:

type 
  TSerie = generic class
  public
    procedure Append(value: T);   
  end

then, in the Append procedure can I do something like:

case typeof(T) of
  integer: // do something with integer
  string: // do someting with string
  ... ...
end;

Thanks!
Shannon
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to