Blocking out (Muting) code [SOLVED]

Started by Fritos, Thu 28/07/2005 22:59:34

Previous topic - Next topic

Fritos

I know that I can mute a line of code from compiling by using the "//".

But is there a way to block out a chunk of code from compiling without having to put the "//" on every line?

I want to move some code around, but don't want to delete the previous area, just in case.

Thanks for any help.

DoorKnobHandle

The correct term would be "to comment out" instead "to mute" or "to block out" and the signs to comment a chunk of code out are "/*" and "*/". Put them before and after the chunk and see what happens... :)

Fritos

Thanks. Exactly, what I was looking for. Appreciate the assistance.

TerranRich

Same as with most languages, including C, C++, Java, and JavaScript. :)
Status: Trying to come up with some ideas...

SMF spam blocked by CleanTalk