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

Vannus vannus at gmail.com
Sat May 22 13:33:03 CEST 2010


> uses
>  Forms,
>  Unit1 in 'set_max.pas' {Form1},
>  Unit2 in 'main_island.pas' {Form2}; <-- semi colon
>
>
???

wheres 'program' ?

where 'begin' & 'end' and the coide in between ?

at the minimum there needs to be:-

program hello;
begin
    // do something ie:-  writeln('Hello');
end.

which is usually in proect1.lpr or project1.pas and rarely (if ever) in
unit1.pas or unit2.pas

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


More information about the Lazarus mailing list