> On Feb 15, 2022, at 3:32 PM, Michael Van Canneyt via fpc-pascal > <fpc-pascal@lists.freepascal.org> wrote: > > I requested that this: > > procedure TMyObject.Demo; > > Procedure DoSub; > begin > Writeln('Sub'); > end; > > begin > DoTest(DoSub); > end;
So that means "reference to procedure" is not compatible with "is nested"? Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal