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 / tw12756.pp
Size: Mime:
{$mode delphi}
{$M+}

type
  TFooR = object { put "record" here and it works. }
    Thing : integer;
  end;
  
  TFoo = class
  private
    fRecord : TFooR;
  published
    property Thing : integer read fRecord.Thing;
  end;

var
  fFoo : TFoo;
begin
  fFoo := TFoo.Create;
  fFoo.fRecord.Thing:=123;
  if (fFoo.Thing <> 123) then
    halt(1);
  fFoo.free;
end.