[fpc-pascal] Incompatible procedure types
Sven Barth
pascaldragon at googlemail.com
Thu Nov 9 07:52:52 CET 2023
Hairy Pixels <genericptr at gmail.com> schrieb am Do., 9. Nov. 2023, 01:37:
>
>
> > 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.
>
Still, provide an example, please.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20231109/78a7a10a/attachment.htm>
More information about the fpc-pascal
mailing list