[Lazarus] New refactoring idea: extract constant

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Nov 4 09:41:27 CET 2009


On Wed, 4 Nov 2009 18:33:57 +1000
Alexander Klenin <klenin at gmail.com> wrote:

> On Wed, Nov 4, 2009 at 17:15, Graeme Geldenhuys
> <graemeg.lists at gmail.com> wrote:
> > 2009/11/4 Alexander Klenin <klenin at gmail.com>:
> >> 2) Whether to put the constant at the procedure or unit level.
> >
> >
> > Very nice idea and would be very handy! But I would add one more
> > option - do you want the constant local to the procedure, or unit
> > wide (implementation section const) or global (interface section
> > const)?
> 
> This is what I meant by point (2) above -- probably did not say it
> precisely enough.
> So, should I create a Mantis ticket?

ok
 
Mattias




More information about the Lazarus mailing list