One of the buttons on my menu has several drop down links that I don't want. I just want the button to be active and no drop down links.
How do I rem or comment out the lines of code I don't want without having to remove the line.
Is it a double forward slash // in front of the line?
Please help
Comment or Rem out lines of code?
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
My two cents:
A space after the // is nice for formatted comments that you want in the code for documentation, but it's not really necessary.
Leaving the space out when you're just testing things will save a little editing time. Last thing FYI... for multi-line comments, use the /*comments*/ approach:
Kevin
A space after the // is nice for formatted comments that you want in the code for documentation, but it's not really necessary.
Code: Select all
//this line is treated as a comment
Code: Select all
/*
Here are a couple
of lines of comments
*/