[fpc-devel] Local procedures as procedural parameter
    Michael Van Canneyt 
    michael at freepascal.org
       
    Mon Mar 14 11:58:55 CET 2005
    
    
  
On Mon, 14 Mar 2005, Florian Klaempfl wrote:
> Michael Van Canneyt 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.
As far as I understood it, it would only be for ISO type i.e.
Function MyFunction (f : Func(X : Real) : Real) : Real;
begin
end;
If this is so, there is no problem.
Michael.
    
    
More information about the fpc-devel
mailing list