[fpc-pascal] Passing nested procs out?

Ryan Joseph ryan at thealchemistguild.com
Thu Nov 15 14:32:06 CET 2018



> On Nov 15, 2018, at 8:24 PM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> The linked entry answers your question directly:
> 
> "if you assign a nested routine to nested procedure variable and then exit the nested routine's parent stack frame, calling the nested procedure variable will result in undefined bahaviour [sic]." 
> 

My fault for not reading more carefully. Sorry Sven!

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list