Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
Replies are listed 'Best First'.
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 imbibing at the Monastery: (9)
As of 2015-07-08 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls