HOME
FUNDAMENTALS
SETUP
MOVEMENT
REMOTE CONTROL
SENSING
---
-
-
-
Exit
- :
Check Your Understanding:
1. Which of these is not a requirement for a parameter name?
Names must be all one word
Names must not be reserved by ROBOTC
Names must not contain any special characters
None of the above – these are all rules for naming your sensors
2. Where do you specify a parameter in a function?
In the pragma statements
Between the pragma statement and task main
Anywhere in the program as long as it is specified before it is used
Between the parentheses directly after the function name
3. When using a parameter, you must declare the type of data the parameter will hold.
True
False
Real World Values
Seeing the Difference