lazarus/components/codetools/examples/scanexamples/assignexample1.pas
mattias 90a1dcfc9b codetools: started FindAssignMethod
git-svn-id: trunk@30491 -
2011-04-27 17:51:15 +00:00

33 lines
398 B
ObjectPascal

unit AssignExample1;
{$mode objfpc}{$H+}
interface
uses
Classes, sysutils;
type
{ TMyPersistent }
TMyPersistent = class(TComponent)
private
FMyInt: integer;
public
procedure CopyFrom(Src: TMyPersistent);
property MyInt: integer read FMyInt write FMyInt;
end;
implementation
{ TMyPersistent }
procedure TMyPersistent.CopyFrom(Src: TMyPersistent);
begin
end;
end.