[lazarus] Code completion not liking record in object def
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Mar 31 05:33:39 EST 2003
On 30 Mar 2003 15:49:48 -0600
Tony Maro <tony at maro.net> wrote:
> Private
> //events:
> //general stuff:
> //stuff depending on plot-data:
> //stuff depending on viewangle/offset/size:
> //stuff for speed/convenience in drawing:
> fPlotOrigin : TPoint; //depends on FOffset & Favgs
> fMouseActionData : record
> fMouseControl : TMouseControl;
> OldMousePos : TPoint; //set on MouseMove
> ExecuteAction : Boolean; //set on LMBdown, LMBup
> DidClear: Boolean;
> end;
> fScrollData : record
> AmScrolling, //True if scrolling is
> ScrollPaused : Boolean; //needed when
> Position : LongInt;
> Speed : Byte; //0 = fastest
> Incremental : Boolean;
> end;
> //view-options:
>
> The object I'm trying to convert contains the above code. I've snipped
> out much of the lines. The compiler does not complain at the records
> inserted in the object this way, but the editor won't find routines with
> CTRL-SHIFT-UP / DOWN and such and shows an error on the first line of
> the fScrollData record stating:
>
> "Error: = expected, but : found"
Fixed
Mattias
More information about the Lazarus
mailing list