i want to overload a procedure in a class.
for this i wrote:
type
TMyClass = class(TObject)
private...
...
public
constructor create;
destructor destroy;
procedure dosomething(filename: string); overload;
procedure dosomething(s: string; t: string; u: string); overload;
implementation
procedure dosomething(filename:string);
begin
end;
procedure dosomething(s: string; t: string; u: string);
begin
end;
but delphi tells me an error regarding forward- or external declaration error…
why is that?
thanks in advance!
you must add the class name …