[fpc-pascal] class constants

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Jan 24 20:56:09 CET 2008


On 24 Jan 2008, at 20:27, Marco van de Voort wrote:

>> On 24 Jan 2008, at 19:45, Marco van de Voort wrote:
>>
>>
>>> 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.

I strongly disagree with that answer to those points.


Jonas



More information about the fpc-pascal mailing list