Link to home
Start Free TrialLog in
Avatar of pmarkov
pmarkov

asked on

Compiler directives

Hello

I have an application with many units.

I Want to declare my Compiler directive (as {$DEFINE name}in Main unit and access it from any unit.

How can I do it?

Thanks



ASKER CERTIFIED SOLUTION
Avatar of robert_marquardt
robert_marquardt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DrDelphi
DrDelphi

I am fairly certain that you can't do that with a {$Define}... have you considered using a global variable, instead?




Good luck!!
*bows to robert_marquardt * Good show!!
... or try to enter them into the "Conditional defines" line in project options dialog

WBR...
Avatar of pmarkov

ASKER

Alone,

What does "the "Conditional defines" line " mean?


Robert - may be this is the correct answer :))

Thanks for everybody