debug { CreateTrace(); ]

Bill Baxter dnewsgroup at billbaxter.com
Sun Dec 23 10:18:25 PST 2007


BLS wrote:
> Hi, a silly noob question...
> may I use :
> 
> debug
> {
>   CreateTrace();
> }
> 
> to replace
> #ifdef _DEBUG
>   CreateTrace();
> #endif
> 
> Thanks
> Bjoern

That's what I'd do with it.

--bb


More information about the Digitalmars-d-learn mailing list