[fpc-pascal] Is Nested Procedure Types

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Nov 23 16:43:16 CET 2013


On 23 Nov 2013, at 15:47, Andrew Brunner wrote:

> I'm wondering if the is nested procedure type is supposed to work
> 
> {$modeswitch nestedprocvars}
> 
> Type TMyCallback=procedure(Index:Integer) is nested;
> 
> I thought 2.6.0 was supposed to support this but I'm using FPC from svn/trunk and it does not.  Any ideas?

It does work, see e.g. http://svn.freepascal.org/svn/fpc/trunk/tests/test/tmaclocalprocparam2d.pp


Jonas


More information about the fpc-pascal mailing list