[Lazarus] Error: illegal qualifier [ found

Kjow antispammoni at gmail.com
Thu Jan 21 00:02:19 CET 2010


2010/1/20 Mattias Gaertner <nc-gaertnma at netcologne.de>:
> Can you give a more complete example?
>
> Mattias

e.g. If I add to a form a listview or a memo or a combobox and in the
source code I put this:

ListBox1.items[0].
or
Memo1.Lines[0].
or
combobox1.items[0].

If I press CRTL+Space I got this error:

\lcl\stdctrls.pp(909,19) Error: identifier expected, but  found

OR

more complete example:

...
...
Type
  TCustomRecord = record
    ...
    DummyCubeList : array [1..10] of TGLDummyCube;
    ...
  end;

...
...
...

function init(Form: TForm): byte;
var
  example: TCustomRecord ;
begin
  ...
  example.DummyCubeList[i]. //CTRL+Space error -> Error: illegal
qualifier [ found


Regards,
Kjow




More information about the Lazarus mailing list