Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Block commenting

by thraxil (Prior)
on Nov 04, 2003 at 16:21 UTC ( #304460=note: print w/ replies, xml ) Need Help??


in reply to Block commenting

either get a decent text editor that will let you comment an entire region at once, or do something quick and dirty like:

if(0) { ... }


Comment on Re: Block commenting
Download Code
Re: Re: Block commenting
by sweetblood (Parson) on Nov 04, 2003 at 16:28 UTC
    Unfortunetly, we all don't get to work with just any text editor. I'm stuck with what they give me, but I do like your other suggestion. Thanks!
Re: Re: Block commenting
by sauoq (Abbot) on Nov 04, 2003 at 20:24 UTC

    Commenting out a region isn't the same as a multi-line comment, of course. Using if(0){ will work for (most) code but not for arbitrary text.

    -sauoq
    "My two cents aren't worth a dime.";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://304460]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-07-29 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls