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 / tbs / tb0011.pp
Size: Mime:
{ Old file: tbs0014.pp }
{  }

type
   prec = ^trec;

   trec = record
      p : prec;
      l : longint;
   end;

function test(p1,p2 : prec) : boolean;

  begin
     if p1^.l=12 then
     case p1^.l of
        123 : test:=(test(p1^.p,p2^.p) and test(p1^.p,p2^.p)) or
                     (test(p1^.p,p2^.p) and test(p1^.p,p2^.p));
        1234 : test:=(test(p1^.p,p2^.p) and test(p1^.p,p2^.p)) or
                     (test(p1^.p,p2^.p) and test(p1^.p,p2^.p));
     end;
  end;

begin
end.