Re: conditional directives

Brady Kelly <[email protected]> Thu, 15 Mar 2007 14:30:00 +0200
Newsgroups gmane.comp.windows.devel.dotnet.cx
Organization Chase Software
Message-ID <[email protected]>
Peter Ouscha:

> Anyway, I have a need with my current development to limit some
> functionality while running from the IDE.  I figured I could use
> '#if..." to do such a conditional thing.  But there are a few things I
> don't understand about doing this.  If I have these #define IDE commands
> all over my files, before a release build, I'd have to remove them,
> correct (which seems like a pain)?  Is there a better way to
> conditionally skip some things while running from the IDE?

Isn't that the point of these directives?  You shouldn't have to remove them
when you change the conditions they depend on.

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com