On 05/22/2010 02:33 PM, Vannus wrote:

    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

HTH who? Me or the OP ;)

The minimum that you have mentioned is already included in the OP's program file, but his uses clause is improperly terminated.

HTH
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to