newLISP Fan Club

Forum => newLISP in the real world => Topic started by: Maurizio on June 03, 2004, 03:31:06 AM

Title: Block comments
Post by: Maurizio on June 03, 2004, 03:31:06 AM
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
Title:
Post by: HPW on June 03, 2004, 07:43:24 AM
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.
Title:
Post by: Lutz on June 03, 2004, 03:31:37 PM
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
Title:
Post by: Maurizio on June 04, 2004, 12:02:26 AM
Thank you very much

Maurizio