[fpc-pascal] Incompatible procedure types
Hairy Pixels
genericptr at gmail.com
Thu Nov 9 01:37:10 CET 2023
> On Nov 8, 2023, at 1:50 PM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> Please provide example code so that one can look at it. Such messages without example are more often than not simply useless.
>
So this ended up being because I didn't enable the "nestedprocvars" mode switch and you get that error assigning to a "is nested" procedure variable. This has bitten me sooooo many times. That error message is basically worthless to a user and should probably be changed.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list