Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.0.0 / tests / webtbs / tw2778.pp
Size: Mime:
{ Source provided for Free Pascal Bug Report 2778 }
{ Submitted by "Michael Van Canneyt" on  2003-11-09 }
{ e-mail: michael.vancanneyt@wisa.be }

{$mode delphi}

type
  TMyFunc = Procedure (I : Integer = 10);

Procedure MyRealFunc(I : Integer = 20);

begin
  Writeln('Function received : ',I);
  if i<>10 then
    halt(1);
end;

Var
  M : TMyFunc;

begin
  M:=@MyRealFunc;
  M;
end.