[Lazarus] int64 assignment fails

Tom Lisjac zikon770 at gmail.com
Sun May 11 01:40:49 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140510/03c24473/attachment-0002.html>


More information about the Lazarus mailing list