Re: having difficulty getting the unit to use an include file
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Mon, 29 Aug 2005 22:19:12 -0500
pr wrote:
"Adam Sandler" <corn29@xxxxxxxxxx> wrote in message news:1125351705.989233.5850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxI've searched this group for info about include files but mostly found debate on why someone would want to use them. I see value in include files as code templates and was wondering if anyone could show me where I'm going wrong.
I may not be correct but changes made to include files do not result in an automatic recompilation of a project. Just think of the nice bugs you can create by this.
You can remember where and when you made changes and manually manage your project, I prefer to apply my brain power to different things.
If you're writing code for multiple compiler versions, having an include file with all the versions mapped to usable compiler symbols is very helpful, and not something you can do with the "Directories and Conditionals" section of the project options. See nearly any open-source project for examples.
Likewise, if you want anything close to code templates in Delphi, you'll need to use includes.
-- Rob .
- References:
- Prev by Date: Re: having difficulty getting the unit to use an include file
- Next by Date: Cannot Tab to DBRadioGroup
- Previous by thread: Re: having difficulty getting the unit to use an include file
- Next by thread: Re: having difficulty getting the unit to use an include file
- Index(es):