[fpc-pascal] Why does nested function get corrupted?

Hairy Pixels genericptr at gmail.com
Sat Sep 10 03:21:26 CEST 2022



> On Sep 9, 2022, at 4:48 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
> 
> How about you simply report such corruptions as bugs? I can always close them as "not a bug" or duplicate if necessary. 
> 

Well I thought the data may have been saved on the stack and thus lost when the function exits. What is the expected behavior for passing these outside of the calling scope?

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list