In debugging or modifying scripts, it is often useful to "comment out" a block of code, so that it will be ignored (treated as a comment) until I decide to reactivate it. I know that I can turn any single line of code into a comment, by adding -- (double dash) at the beginning. However, this is tedious and error-prone, if I want to comment out twenty or thirty lines of a script at a time.
Is there a simple way to mark a block of code, so that it will be treated as a comment?
Thanks,
Derek
How to comment out a block of code?
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller
How to comment out a block of code?
Derek Roff
Language Learning Center
University of New Mexico
Language Learning Center
University of New Mexico