For this kind of error, I usually rely on compiler automatic point to the
line and my editor color settings to find bug.

Just a suggestion, change default color setting a different one.

Best Regards
Leigh Wanstead

----- Original Message -----
From: Aaron Scott-Boddendijk <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Wednesday, March 29, 2000 03:11
Subject: Re: [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.
>
> 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
>

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

Reply via email to