[development] cool comment trick

Gildas Cotomale gildas.cotomale at gmail.com
Wed Mar 1 13:01:33 UTC 2006


On 3/1/06, Karoly Negyesi <karoly at negyesi.net> wrote:
> /*
> some optional code here
> /**/
>
> now, if you change the first line to
>
> //*
> some optional code here
> /**/
>
> then the optional code will run. This is prolly the simplest way (one
> char!) to switch on-off blocks of code.
>
Funny,  i use a similar thing :

/*
opt_code...
//*/

> Regards
>
> NK
>


More information about the development mailing list