[fpc-devel] Local procedures as procedural parameter

Jonas Maebe jonas at zeus.ugent.be
Mon Mar 14 12:03:41 CET 2005


On 14 mrt 2005, at 11:58, Michael Van Canneyt wrote:

> 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.

It is, and those ISO types are additionally only allowed in MacPas mode 
:) So people using FPC or Delphi mode can't even accidentally declare 
an ISO-style procvar parameter (for now at least, we could of course 
decide to allow it in some other modes as well).


Jonas





More information about the fpc-devel mailing list