[fpc-pascal] (no subject)

Bart bartjunk64 at gmail.com
Mon Apr 12 13:25:58 CEST 2010


On Sun, Apr 11, 2010 at 4:22 PM, Bihar Anwar <bihar_anwar at 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



More information about the fpc-pascal mailing list