Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8575
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: ifdef question |
| Date | Wed, 28 Oct 2015 14:45:59 +0100 |
| Lines | 46 |
| Message-ID | <d9c1sqFmasiU1@mid.individual.net> (permalink) |
| References | <n0q6gl$has$1@dont-email.me> <n0q82p$mh5$1@dont-email.me> |
| X-Trace | individual.net E9TXRMQlaJgY1EQmLDPLNA+ViIAZy9xm3TDZKrxT+cOgEcy9o= |
| Cancel-Lock | sha1:F2MdcmRhiIqAyuO6CsvFF4Rbc1g= |
| User-Agent | XanaNews/1.18.1.6 |
| Xref | csiph.com comp.lang.clipper.visual-objects:8575 |
Show key headers only | View raw
Hi Johan, this will work with Vulcan.NET because it is file based. With VO it will not work because it is entity based. #ifdef and collegues in VO will work only in one entity. Wolfgang Johan Nel wrote: > Martin, > On 2015/10/28 12:05, Martin wrote: > > And I have not been able to use ifdef in the class definition for > > SLE_WH > > > > Is this possible? > > Tested the following and it compiles correctly. > > #ifdef DEBUG > CLASS Xyz INHERIT y > #else > CLASS Xyz INHERIT z > #endif > END CLASS > > #ifdef DEBUG > CLASS y > END CLASS > #else > CLASS z > END CLASS > #endif > You will need to #define MM in the .prg or in a .vh file that you > then obviously need to #include in the .prg > > HTH, --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread
ifdef question Martin <Martin@spam.spam> - 2015-10-28 10:05 +0000 Re: ifdef question "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-10-28 14:45 +0100
csiph-web