[lazarus] lazarus bugs

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Aug 27 11:41:57 EDT 2002


On 26 Aug 2002 16:57:42 +0000
Javier <javuchi77 at yahoo.es> wrote:

> 2.- I press Close All, then New Project, then I insert a button into the
> form, then I press Save Project As and store the project into an empty
> directory called ~/.example using the default names. Then I try to run
> the project again and obtain the following source code into unit1.lrs:
> 
> L
> 
> LazarusResources.Add('TForm1','FORMDATA',[ 
> 'TPF0'#6'TForm1'#5'Form1'#7'CAPTION'#6#5'Form1'#5'COLOR'#4#15#0#0#128#12'CLIE'  +'NTHEIGHT'#3','#1#11'CLIENTWIDTH'#3#144#1#4'LEFT'#3'D'#1#6'HEIGHT'#3','#1#3  +'TOP'#3'I'#1#5'WIDTH'#3#144#1#0#7'TBUTTON'#7'Button1'#7'CAPTION'#6#7'Button1'  +#12'FONT.CHARSET'#2#1#10'FONT.COLOR'#4#8#0#0#128#9'FONT.NAME'#6#7'default'#4
>   +'LEFT'#2'H'#6'HEIGHT'#2'h'#3'TOP'#2'@'#5'WIDTH'#3#142#0#0#0#0
> ]);
> 
> 
> The first "L" is also automaticaly written, wich of course causes the
> compiler to bring me an error:
> 
> unit1.lrs(1,1) Error: Identifier not found L
> unit1.lrs(3,1) Error: Illegal expression
> unit1.lrs(3,1) Syntax error, ; expected but LAZARUSRESOURCES found
> 
> I have checked this and always happens on my computer.

Fixed.


Mattias






More information about the Lazarus mailing list