Re: ($DEFINE) seems to stay within the one .pas file




"Christakis John" <dontemail@xxxxxxxxxxxx> wrote in message
news:sNFwe.9744$oJ.3205@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Is there another way to do this without
> saving a separate unit4.pas and having concurrent almost identical files
> to
> update?

Project Options -> Directories / Conditionals -> Conditional defines.

Useful for putting things like DEBUG in there, and then having code with
{$IFDEF DEBUG}

MH.


.