[development] cool comment trick

Karoly Negyesi karoly at negyesi.net
Wed Mar 1 10:02:42 UTC 2006


/*
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.

Regards

NK


More information about the development mailing list