Hi,
Can I make a class helper to implements an Interface in an existing class?

For example, TStringList class has Find:

public function TStringList.Find(const S: string; out Index: Integer):Boolean;

Imagine an IFinder interface with the same method (only this method).
So, is it possible to make TStringList to implement IFinder using a
helper? If yes, which is the syntax?

Thanks,
Marcos Douglas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to