Block comments

Started by Maurizio, June 03, 2004, 03:31:06 AM

Previous topic - Next topic

Maurizio

would be very fine to have a way to comment out several rows of code

(something like /* and */)

sometimes, while debugging,  I found the necessity to

comment out several procedures at once,

and it's very disturbing to have to comment every single line.



Regards

Maurizio

HPW

#1
I used my favourite editor (Ultraedit) most the time and if offers this as a configurable option with buttons for it. Then the whole block get a ';' at the linebegin.
Hans-Peter

Lutz

#2
just put the whole section of code between



[text]

... code ...

[/text]



or {  ... }, but be careful that { } inside are matched.



As the out-commented code is typically on the top level it just sees a string and leaves it alone.



Lutz

Maurizio

#3
Thank you very much

Maurizio