Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.pascal.borland > #120

Re: $DEFINE - where should I put it?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!.POSTED!not-for-mail
From Marco van de Voort <marcov@toad.stack.nl>
Newsgroups comp.lang.pascal.borland
Subject Re: $DEFINE - where should I put it?
Date Tue, 7 Aug 2012 08:40:41 +0000 (UTC)
Organization Stack Usenet News Service
Lines 10
Message-ID <slrnk21l49.21jf.marcov@toad.stack.nl> (permalink)
References <175a658f-0206-40d3-a742-93377d1f41aa@googlegroups.com>
NNTP-Posting-Host toad.stack.nl
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Trace mud.stack.nl 1344328841 42639 2001:610:1108:5010::135 (7 Aug 2012 08:40:41 GMT)
X-Complaints-To abuse@stack.nl
NNTP-Posting-Date Tue, 7 Aug 2012 08:40:41 +0000 (UTC)
User-Agent slrn/0.9.9p1 (FreeBSD)
Xref csiph.com comp.lang.pascal.borland:120

Show key headers only | View raw


On 2012-08-06, Ruud Baltissen <rbaltissen@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.

Back to comp.lang.pascal.borland | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

$DEFINE - where should I put it? Ruud Baltissen <rbaltissen@gmail.com> - 2012-08-06 05:05 -0700
  Re: $DEFINE - where should I put it? Marco van de Voort <marcov@toad.stack.nl> - 2012-08-07 08:40 +0000
    Re: $DEFINE - where should I put it? Ruud Baltissen <rbaltissen@gmail.com> - 2012-08-09 11:25 -0700

csiph-web