Hi,
How do you test an application with preprocessor directive and running (testing) the application in IDE?
For example, say I define a public variable lMyVar and set it to .T.
Then in one of the procedures I have code:
#if lMyVar
#else
#endif
It looks like that in the IDE mode, no matter the value of lMyVar, the branch Code 2 is executed. I understand that the preprocessor directives are to be used at compile time to include code 1 or code in the .EXE. But how do you test it under IDE?
Thank you in advance for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham