ROBOTC for Arduino - Local Variables  

The Local Variables window is useful for seeing the current values of the variables declared in the current section of your program. For instance, if a variable is local to a function and the program flow is in that function, the variable will appear in the Local Variables window. Using the ROBOTC debugger, you can view these variable's names and value, as well as change their values in realtime. The Local Variables window can be opened by going to the Robot menu, Debug Windows, and selecting Local Variables.

 

Index
The index of the variable, in memory.

Variable
The name of the variable, defined in the program.

Value
The value of the variable during program execution. Values will update automatically if the Program Debug window is set to update continuously.


Copyright © 2012 Robotics Academy/Robomatter - http://robotc.net/