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 / test / tchlp43.pp
Size: Mime:
{ %NORUN }

{ for helpers Self always refers to the extended class }
program tchlp43;

{$ifdef fpc}
  {$mode objfpc}
{$endif}

type
  TTest = class
    procedure DoTest(aTest: TTest);
  end;

  TTestHelper = class helper for TTest
    procedure Test;
  end;

procedure TTest.DoTest(aTest: TTest);
begin

end;

procedure TTestHelper.Test;
begin
  DoTest(Self);
end;

var
  t: TTest;
begin
  t := TTest.Create;
  t.Test;
end.