Is it possible to change the  colors MSVC uses? With my desktop background
color (blueish grey) it makes the dark green comments hard to read.. any
ideas? :)


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2001 15.35
Subject: Re: [hlcoders] #if 0 #endif -- isn't a /* */ 'better form'?


> I also like /* */, because VC changes the color of comments, so it's easy
> to see what code isn't being compiled.  Also, /* */ saves you a few bytes
> in the source code file compared to an #if 0 - #endif pair.  Hey, every
> byte counts man ;)
>
> On Thu, 15 Nov 2001 11:03:42 -0600 "Dynerman David M"
> <[EMAIL PROTECTED]> writes:
> > It's a reason, but I don't think it's terribly valid.
> >
> > #if 0 is pretty confusing, especially if your eyes don't catch where
> > the
> > #endif is. It works, but its dirty. Personally, I'd just change
> > that
> > extra /*, what is it anyway, a mouse click and 3 key strokes? :)
> >
> > david
> >
> > -----Original Message-----
> > From: James Williams [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 15, 2001 2:34 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [hlcoders] #if 0 #endif -- isn't a /* */ 'better
> > form'?
> >
> > > Perhaps there's a reason for doing this that escapes me though.
> >
> > If you have /* */s in the cuntion already, the */ will terminate
> > the
> > block
> > function and force you to go back and add more /*s, which is a
> > pain.
> > Take
> > this for example:
> >
> > doBlah(vec1, vec2);
> > /* Commented...
> >   doBlah2(vec2, vec3, length);
> > */
> > doBlah3(length);
> >
> > If you wanted to get rid of this whole block by commenting it out
> > with
> > /*
> > */, VC will interpret the end of the comment at the first */,
> > leaving
> > doBlah3 to possibly wreak havoc. With #if 0, the block is removed by
> > the
> > preprocessor and there's no chance of comments mucking it up.
> >
> > -James "Corvidae" Williams ([EMAIL PROTECTED])
> > Administrator, Wavelength Forums
> > (http://www.planethalflife.com/wavelength)
> > Co-Leader / Coder, Underhive (http://www.underhive.com)
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list
> > archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list
> > archives, please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
>



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to