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 / tw4789.pp
Size: Mime:
{ Source provided for Free Pascal Bug Report 4789 }
{ Submitted by "Andrew Haines" on  2006-02-09 }
{ e-mail: andrewd207@aol.com }
program Project1;

{$mode objfpc}{$H+}

uses
  Classes, SysUtils
  { add your units here };

type

  { TSimpleObj }
  TSimpleSet = (ssOne, ssTwo, ssThree);

  TSimpleObj = class(TObject)
  private
    procedure SetTestVal(const AIndex: Integer; const AIsSet: Boolean);
    function GetTestVal(const AIndex: Integer): Boolean;
  public
    Property TestVal: Boolean index Ord(ssOne) read GetTestVal write SetTestVal;
  end;

{ TSimpleObj }

procedure TSimpleObj.SetTestVal(const AIndex: Integer; const AIsSet: Boolean);
begin

end;

function TSimpleObj.GetTestVal(const AIndex: Integer): Boolean;
begin

end;

begin
end.