From: Tom L. <ne...@gm...> - 2011-11-25 03:00:12
|
After too many years, I'm trying to rollup a lot of fixes and release a new version of EpikTimer. In the process, I ran into a compile error with the demo program that I don't understand. Here are the declarations in epiktimer.pas: type TickType = Int64; TimebaseData = record TicksFrequency: Ticktype; ... end; TEpikTimer= class(TComponent) private FHWTicks:TimeBaseData; public property HWTimebase: TimeBaseData read FHWTicks write FHWTicks; The demo defines a public TEpikTimer:ET and fails to compile with "Error: Argument can't be assigned to" from fpc-2.4.2 on this statement: ET.HWTimebase.TicksFrequency:=5 This reference seems to be a well defined int64 and used to compile in older versions of FPC. Can someone tell me what has changed and the right way to assign this value? Thanks, -Tom |