Programming instructions
Reference
Project Lead The Way
©
and Carnegie Mellon Robotics Academy
©
/ For use with VEX
®
Robotics Systems
Error Messages in ROBOTC Code • 6
Common Warning Messages
In the example below, the forward and stop commands are improperly capitalized. The
ROBOTC compiler is able to substitute in the correct forms of the commands, but uses warning
messages to notify you of the substitution. Note that it does not correct the capitalization in your
code, only what it sends to the robot. Again, the actual warning message inform you about the
substitution: “*Warning*:Substituting similar variable ‘forward’ for ‘Forward’. Check spelling and
letter case.”
You do not need to correct this message. If it was not intentional, you can:
1. Include code within the curly braces of the while loop, for it to repeat.
2. Change the condition of the while loop, so that it does not repeat forever.
Error Messages in ROBOTC Code
Go to Reference Links