> On Nov 8, 2023, at 1:50 PM, Sven Barth via fpc-pascal > <fpc-pascal@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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal