View Single Post
  #9   Spotlight this post!  
Unread 07-02-2004, 21:32
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: IR reflective (tape) sensor code problems

Quote:
Originally Posted by Argoth
I am very stupid. I took my code to the meeting today and let one of the other programmers look at it to see if there was anything wrong in the code I wrote. There wasn't . Mid way up between default routine and beginning of the program there was and extra slash causing some commenting to become uncommented. Suprisingly it kept compiling with no errors!(that was what was really confounding us) So, we fixed it and I thank ya'll for helping.

Ps. I think I am probably the first person who has ever caused an error in the robot with the commenting...
Hate to disapoint you, but probably not:
Code:
executing_code();
/* commented_out_code();
/*some comment 
about code that's
commented out*/
STILL_RUNNING();*/
Of course, all the veterens mention this to the rookies, so not recently.