[Lazarus] Error: illegal qualifier [ found

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jan 21 00:12:37 CET 2010


On Thu, 21 Jan 2010 00:02:19 +0100
Kjow <antispammoni at gmail.com> wrote:

> 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

fixed

 
> 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

Fixed.


Mattias




More information about the Lazarus mailing list