On Tue, 15 Feb 2022, Ryan Joseph via fpc-pascal wrote:



On Feb 15, 2022, at 3:32 PM, Michael Van Canneyt via fpc-pascal 
<[email protected]> 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"?

In Delphi it is not. In FPC it should be :-)

Michael.
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to