digitalmars.D.bugs - debug(123) {}
- Thomas Kuehne (6/7) Oct 16 2004 The implementation only includes the code if the debug level is >= n.
- Walter (4/11) Oct 27 2004 Ak, I had this backwards. I'll fix the doc.
version.html:
debug(n) {} // add in debug code if debug level is <= n
The implementation only includes the code if the debug level is >= n.
(it treats the debug statement the same way as it does the version statement).
test case:
svn://svn.kuehne.cn/dstress/complex/debug (debug_02)
Thomas
Oct 16 2004
Ak, I had this backwards. I'll fix the doc. "Thomas Kuehne" <eisvogel users.sourceforge.net> wrote in message news:ckro4f$1b4l$2 digitaldaemon.com...version.html:statement).debug(n) {} // add in debug code if debug level is <= nThe implementation only includes the code if the debug level is >= n. (it treats the debug statement the same way as it does the versiontest case: svn://svn.kuehne.cn/dstress/complex/debug (debug_02) Thomas
Oct 27 2004








"Walter" <newshound digitalmars.com>