opensubscriber
   Find in this group all groups
 
Unknown more information…

d : delphi@konferencijos.lt 25 May 2010 • 7:12PM -0400

Re: [delphi] Testas
by Nerijus

REPLY TO AUTHOR
 
REPLY TO GROUP




Na jei includini/excludini nauja faila projekte, delfis dpr'e
automatiskai pagal save persitvarko. Uz sita "privaluma" reikia delphio
developeriams dekot. Workaroundo kiek zinau nera.


On 2010.05.25 13:45, Kestutis wrote:
> Tada, kas galit atsakyti, kodel Delphi išmeta {$IFDEF}... {ENDIF} iš
> DPR failo.
> Atlikit tokį bandymą:
>
> program Main;
>
> uses
>   Forms,
>   Windows,
>   {$IFDEF DEBUG}
>     TestUnit in 'TestFolder\Test.pas',
>   {$ELSE}
>     TestUnit in 'Test.pas',
>   {$ENDIF}
>     MainForm in 'MainForm.pas' {Form1};
>
> ir t.t
>
> tada sukriant nauja Unit'a per Delphi Meniu - File->New->Unit.
> P{$IFDEF}'o DPR'e nelieka.:)
>
>


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.