Page 1 of 1

Block comments

Posted: Thu Jun 03, 2004 10:31 am
by 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

Posted: Thu Jun 03, 2004 2:43 pm
by HPW
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.

Posted: Thu Jun 03, 2004 10:31 pm
by Lutz
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

Posted: Fri Jun 04, 2004 7:02 am
by Maurizio
Thank you very much
Maurizio