On Sun, Apr 11, 2010 at 4:22 PM, Bihar Anwar <bihar_an...@rocketmail.com> wrote:
> Yes it works, but the {$DEFINE NOFORMSPLEASE} clause must be put in the unit 
> itself. If I put the clause in the first line of my console project, the unit 
> won't catch it.
>
> How can I define a compiler directive that can be understood by all units in 
> my project?
>

Commandline:
fpc -dNOFORMSPLEASE myprogram.pp

Not sure if this can be done from within FP IDE or Lazarus though.

Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to