[fpc-devel] Local procedures as procedural parameter

Jonas Maebe jonas at zeus.ugent.be
Mon Mar 14 11:08:41 CET 2005


On 14 mrt 2005, at 10:55, Florian Klaempfl wrote:

>> Then I think standard pascal is very handicapped indeed.
>
> var
>   f : function : longint of procedure(a : longint);
>
> :)?

Well, you'd have to add a declaration of all local variables of the 
parent as well :) (and the declaration and local variables of the 
parents of the parent etc :)


Jonas





More information about the fpc-devel mailing list