[Lazarus] Uses Clause in LPR

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 10 17:22:32 CEST 2011


On Fri, 10 Jun 2011 17:06:12 +0200 (CEST)
michael.vancanneyt at wisa.be wrote:

> 
> 
> On Fri, 10 Jun 2011, silvioprog wrote:
> 
> > 2011/6/10  <michael.vancanneyt at wisa.be>:
> >> It is not a bug. It is correct behaviour.
> >>
> >> The LazSolutionsRT should have the 'add to uses clause' flag not set: in the
> >> package dialog, choose options. then
> >>
> >> 'Package options' - 'Usage'
> >
> > I should leave it unchecked in (all) my package(s)?
> 
> Usually, yes. 
> For IDE Design-time only packages, you can leave it on.

Packages installed in the IDE ignore the flag. The package unit is
always added.

Maybe the default for new packages can be changed.

Mattias




More information about the Lazarus mailing list