[lazarus] 0.8.5 alpha - Plz read carefully

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Oct 29 14:37:33 EST 2002


On Tue, 29 Oct 2002 18:34:26 +0100
"Vincent Snijders" <vslist at zonnet.nl> wrote:

> I see you added the interface clause to all the units. 

Not all units. Just three too much. Deleted.


> I thought it only
> needed to be added the the main unit (the program) and not to the form
> units(i.e. helloform.pp).

Right. 
(It's completely irrelevant what unit/program source file contains the
'interfaces' in the uses section, just add it at least once somewhere in
the project).


Mattias


> 
> > -----Oorspronkelijk bericht-----
> > Van: Mattias Gaertner [mailto:nc-gaertnma at netcologne.de]
> > Verzonden: dinsdag 29 oktober 2002 9:30
> > Aan: lazarus at miraclec.com
> > Onderwerp: Re: [lazarus] 0.8.5 alpha - Plz read carefully
> >
> >
> > On Mon, 28 Oct 2002 21:18:59 +0100
> > "Vincent Snijders" <vslist at zonnet.nl> wrote:
> >
> > > What is the preferred order of units in the uses clause?
> > >
> > > 1. uses Interfaces, Forms, MyForm;
> > > 2. uses Forms, Interfaces, MyForm;
> >
> > There is no double identifier and interfaces uses forms, so the
> > initialization order is fixed. You can write the three units above
> > in any permutation.
> >
> >
> > > Are you going to update the examples or should I send you patch
> > > for it?
> >
> > I added them already.
> > I just started a few of them and saw a lot of errors. :(
> > I must admit, that I never pay much attention to the examples, but
> > this was too worse. These are not examples for the LCL, these are
> > bug reports. I will fix them in the next days ..
> >
> >
> > Mattias
> >
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives






More information about the Lazarus mailing list