Aaron Scott-Boddendijk wrote:
> > Need some more help please.
> > I have (for simplicity sake) 2 units UserSettingsUn and MainFm.
> > In UserSettingsUn I have the following:
> > unit UserSettingUn;
> > interface
> > uses DBTables, DB, Classes, SysUtils, Dialogs, Graphics,
> > MainFm, DataMod;
> > {$DEFINE AR}
>
> Defines are per unit not global so you really need to have a *.inc file full of
>global includes
> and place it as the 1st line of every unit... Unless it's just a simple conditional
>in whih
> case set it in the project options.
It's just that I had this working two weeks ago (or at least I thought that I did - it
appears from
what you say here, that I can't have)
I want to be able to include and exclude parts of the code at compile time depending
on which
client this version is for. If these .inc files will help me can you point me in the
direction of
some help on them, please.
TIA
Mark
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz