fpc-2.6.4-1.x86_64. says "Argument can't be assigned to" when trying to
compile the following:

type
  TickType = Int64;

  TimebaseData = record
    TicksFrequency: TickType;
  end;

  TEpikTimer= class(TComponent)
    private
      FHWTicks:TimeBaseData;
    Public
      property HWTimebase: TimeBaseData read FHWTicks write FHWTicks;

  TForm1 = class(TForm);
    public
      ET:TEpikTimer;

  procedure TForm1.Button8CLICK(Sender: TObject);
   begin
      ET.HWTimebase.TicksFrequency:=10; // Fails

This used to compile and seems like a straightforward int64 assignment. Has
something changed where this is no longer allowed?

Thanks,

-Tom
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to