[Lazarus] ERROR in a simple console app

Marcos Douglas md at delfire.net
Sat Jan 15 14:25:54 CET 2011


On Sat, Jan 15, 2011 at 11:18 AM, Paul Ishenin <webpirat at mail.ru> wrote:
> 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.

Yes, like Delphi.
But the wizards do not pose this condition. Why? There are some advantages?

Marcos Douglas




More information about the Lazarus mailing list