conditional directives
Peter Osucha <[email protected]> Wed, 14 Mar 2007 13:42:36 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
I haven't had much use for these in the past (or better yet, I didn't understand how they could be used so I didn't use them). 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? Peter =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com