[fpc-pascal] nested procedure as parameter question

Adriaan van Os fpc at microbizz.nl
Fri Apr 16 09:33:54 CEST 2010


Bruce Bauman wrote:
> I am porting a large amount of existing Pascal code (MetaWare) to Free
> Pascal. Unfortunately, this code makes extensive use of nested
> procedures, and the nested procedures often reference variables in the
> enclosing scope.
> 
> I know that I can't pass the nested routine by address to another
> procedure; I get errors like the following:

See <http://bugs.freepascal.org/view.php?id=15925>

Regards,

Adriaan van Os



More information about the fpc-pascal mailing list