Re: Scope of compiler directives?
From: Robert Marquardt (robert_marquardt_at_gmx.de)
Date: 02/21/05
- Next message: Jeremy Collins: "Re: Scope of compiler directives?"
- Previous message: Raptor: "Scope of compiler directives?"
- In reply to: Raptor: "Scope of compiler directives?"
- Next in thread: Jeremy Collins: "Re: Scope of compiler directives?"
- Reply: Jeremy Collins: "Re: Scope of compiler directives?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 21 Feb 2005 06:57:17 +0100
Raptor wrote:
> Thought I'd try putting my compiler directives in the .DPR file. Seems to
> work, but raises a question about scope. The MemChk procedure in the code
> body is not called unless I redeclare the DEVELOPMENT bit after the Begin.
> What's the deal?
The scope is always local to the file.
Only directives set on the commandline of the compiler (aka set in the
project options) are available in all files.
- Next message: Jeremy Collins: "Re: Scope of compiler directives?"
- Previous message: Raptor: "Scope of compiler directives?"
- In reply to: Raptor: "Scope of compiler directives?"
- Next in thread: Jeremy Collins: "Re: Scope of compiler directives?"
- Reply: Jeremy Collins: "Re: Scope of compiler directives?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading