[fpc-devel] Local procedures as procedural parameter

Jonas Maebe jonas at zeus.ugent.be
Mon Mar 14 12:00:05 CET 2005


On 14 mrt 2005, at 11:53, Florian Klaempfl wrote:

>> I will object against a solution that causes existing code to be 
>> altered
>> in any way, such as an extra hidden parameter for all callbacks. For 
>> the
>> ISO ones, I don't think there is any other way of doing it. As long 
>> as it is
>> restricted to those, there is no problem...
>
> If it would cause all types of proc. vars. (which is doesn't as far as 
> I understand) it could be made mac mode only.

It's both for now:

a) it does not cause all procvars to become of this special type (only 
those whose type is fully declared inside a parameter list)
b) it will only be available in MacPas mode


Jonas





More information about the fpc-devel mailing list