Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

$DEFINE - where should I put it?

22 views
Skip to first unread message

Ruud Baltissen

unread,
Aug 6, 2012, 8:05:45 AM8/6/12
to
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

unread,
Aug 7, 2012, 4:40:41 AM8/7/12
to
On 2012-08-06, Ruud Baltissen <rbalt...@gmail.com> wrote:
> 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

unread,
Aug 9, 2012, 2:25:41 PM8/9/12
to
> > 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 !!!
0 new messages