[Lazarus] My Island_maker D5/7 port test code - Syntax error, "identifier" expected but "BEGIN" found

Vannus vannus at gmail.com
Sat May 22 01:52:02 CEST 2010


thats the lpi file youve quoted, could you quote/attach the lpr file?

heres an example you could compare with. (youre probably just missing ; or
something)

program project1;

{$mode objfpc}{$H+}

uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms, Unit1, LResources, Unit2
{ you can add units after this };

{$IFDEF WINDOWS}{$R project1.rc}{$ENDIF}

begin
Application.Title:='Exit';
{$I project1.lrs}
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.CreateForm(TForm2, Form2);
Application.Run;
end.


HTH

- V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100522/a0d1c399/attachment-0004.html>


More information about the Lazarus mailing list