[Lazarus] ERROR in a simple console app

Paul Ishenin webpirat at mail.ru
Sat Jan 15 14:18:17 CET 2011


15.01.2011 19:22, Marcos Douglas wrote:
> program project1;
> {$mode objfpc}{$H+}
add {$apptype console} here
> uses
>    {$IFDEF UNIX}{$IFDEF UseCThreads}
>    cthreads,
>    {$ENDIF}{$ENDIF}
>    Classes
>    { you can add units after this };
> begin
>    WriteLn('Hello World!');
>    ReadLn;
> end.
Best regards,
Paul Ishenin




More information about the Lazarus mailing list