ClassCreator.com | Blockbuster sites, amazing reunions

Share Tips

New Topic Subscription Options  

Adding comments to Source

Forums: Questions and Answers About Building Your Site
Created on: 01/18/12 02:15 PM Views: 1047 Replies: 3
Wednesday, January 18, 2012 at 2:15 PM

I have some tricky source code I have to edit and I'd like to add some programmers comments to help locate, explain & remember what was done. Isn't there a special format I can use like beginning character or bracketing that will allow me to add those and keep them saved in the Source?

Reply
Wednesday, January 18, 2012 at 2:19 PM - Response #1

yes

Reply
Wednesday, January 18, 2012 at 2:56 PM - Response #2

Yes. A comment starts with you can have anything you want from start to end ( except -- should be avoided to prevent accidents). Then end does not have to be on the same line. For example
yes - your code would be

Reply
Edited 01/18/12 3:14 PM
Wednesday, January 18, 2012 at 4:47 PM - Response #3

Is that better? You had the ending comment being --"> so it never ended the comment


Reply
New Topic  
Subscription Options: Have all new forum posts sent directly to your email.
Subscription options are available after you log in.