Discussion:
$DEFINE - where should I put it?
(too old to reply)
Ruud Baltissen
2012-08-06 12:05:45 UTC
Permalink
Hallo allemaal,

Where should I put my $DEFINE so it is "written once, valid for all units"? Or am I thinking a bit too simplistic? :)

Thanks for any help/info!

Groetjes, Ruud Baltissen
www.Baltissen.org
Marco van de Voort
2012-08-07 08:40:41 UTC
Permalink
Post by Ruud Baltissen
Where should I put my $DEFINE so it is "written once, valid for all
units"? Or am I thinking a bit too simplistic? :)
1. on _every_ commandline or global in the IDE
2. in an .inc file that you include in every unit right after the interface
keyword.

If you change any of these, build instead of compile.
Ruud Baltissen
2012-08-09 18:25:41 UTC
Permalink
Post by Marco van de Voort
Post by Ruud Baltissen
Where should I put my $DEFINE so it is "written once, valid for all
units"? Or am I thinking a bit too simplistic? :)
1. on _every_ commandline or global in the IDE
2. in an .inc file that you include in every unit right after the interface
keyword.
Hartelijk dank !!! / Thank you !!!
Post by Marco van de Voort
If you change any of these, build instead of compile.
Loading...