Adding Comments

12/13/2006 07:06 Unknownwho18#1
Hey guys, just need a little help. Trying to add a comment. Here:
Code:
      
/*

Speed

 */
Code:
//

Speed

//

Well when i write it, it becomes green and doesn't change to Grey. When i start the program it gives an error due to it doesn't recognize it as a comment. Thanks for the help :)
12/15/2006 19:12 emjay#2
well // is only for one line.
/*
text
*/ is for more lines.

Code:
void Test(){
  //our var!
  byte testvar = 0; // lol another comment
  /*
  Comment
  more comments
  still more comments
  */
  testvar = 0xFF; /* ok thats enough,
  really */
}
just an example without any sense