Luke,

Try...


Type
TTaskList = class(TList)        // No ";"
  procedure SaveToFile(FileName: String);
end;


Regards
Paul McKenzie

Unisys

Phone:  64-04-462 2287
E-mail: [EMAIL PROTECTED]

(Wellington - New Zealand)

        CAUTION: This e-mail message and accompanying data may contain
information that is confidential. If you are not the intended recipient you
are notified that all content is to be treated as confidential unless
otherwise specified, and is not to be used, copied or forwarded to third
parties without the prior permission of the author. If you have received
this e-mail message in error please delete it and notify me. Thank you.



-----Original Message-----
From: Luke Pascoe [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 29 March 2000 02:53 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Whats wrong here?


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.

--

Luke Pascoe

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to