(Non) Nesting block comments

Michiel Helvensteijn m.helvensteijn.remove at gmail.com
Tue Jul 21 02:31:13 PDT 2009


Robert Jacques wrote:

> Well /* */ are excellent for toggling code sections. I tend to use
> constructs such as // */ or  //* or /*/ which allows me to turn on of off
> blocks with often a single key stroke. Using /+ +/ means I have to Add
> /++/ and remove /++/ each time I want to activate or deactivate a code
> block.

Why? I believe that /++/ works exactly like /**/ in that regard. Doesn't it?

//+
code that can be turned off by removing the first /
//+/

-- 
Michiel Helvensteijn




More information about the Digitalmars-d mailing list