October 16, 2004 debug(123) {} | ||||
---|---|---|---|---|
| ||||
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 |
October 28, 2004 Re: debug(123) {} | ||||
---|---|---|---|---|
| ||||
Posted in reply to Thomas Kuehne | 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: > > 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 > > |
Copyright © 1999-2021 by the D Language Foundation