RobotC Array Indices

Does RobotC have number-based indices for motors, sensors, and joysticks? That would make for loops very useful.

In case the question doesn’t make sense, here are a few examples:


They are enums, right click and go to definition and declarations.

I know that motors go from motor[0] to motor[9].
Sensors also have some sort of indexing system, but I do not remember what it is. Perhaps it is SensorValue[0] to SensorValue[19], but don’t quote me on that.