> TTaskList = class(TList);
> procedure SaveToFile(FileName: String);
> end;
>
> I want to add the SaveToFile proc to the functionality of TList, but I get
> an error saying "IMPLEMENTATION expected but ; found"
>
> I haven't had much experience with inheriting components.
Take out the semi-colon after the Class Parent
I'd also advise assigning a visibility specifier (in this case Public)
TTaskList = class(TList) // No semi-colon here...
public
procedure SaveToFile(const FileName :String);
end;
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz