[fpc-pascal] class constants

Marco van de Voort marcov at stack.nl
Thu Jan 24 20:27:33 CET 2008


> On 24 Jan 2008, at 19:45, Marco van de Voort wrote:
> >> constants.
> >
> > A constant is already in a scope, the unit.
> 
> So are constants local to a function. Being able to restrict the  
> scope to a certain function or group of functions is nevertheless  
> useful.

To be honest, if we wouldn't be able to do that now, and a request for
implementation came, my answer would be pretty much the same.



More information about the fpc-pascal mailing list