sorry i have a memory gap:
how do you say:
if I satisfy this condition it compiles this piece of code,
if I satisfy other condition it compiles another piece of code.
Thank you
Danilo
conditional compilation
conditional compilation
Hi Danilo,
See the following, if you include the #define, then the first part will be compiled, otherwise the second:
#define something
#ifdef something
...
#else
...
#endif
See the following, if you include the #define, then the first part will be compiled, otherwise the second:
#define something
#ifdef something
...
#else
...
#endif
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
- softdevo@tiscali.it
- Posts: 191
- Joined: Wed Sep 30, 2015 1:30 pm
conditional compilation
Thank you, I didn't remember it anymore