In full color mode, the FW stores the phototransistor values for when the LED is red, green, blue, and off. In full color mode, there are four LED states.
Color sensor array indices
Input module constants
Constants for use with color sensor value arrays to index RGB and blank return values. More...
Macros
#define INPUT_RED 0
#define INPUT_GREEN 1
#define INPUT_BLUE 2
#define INPUT_BLANK 3
#define INPUT_NO_OF_COLORS 4
my guess was simply, if
#define INPUT_NO_OF_COLORS 4
stands in a line with all the other constants for color macro names then it should be able to use it like the other macro constants and - above all - it should have any meaning or effect or result if it was passed to a function.
why would one need a name for a constant equal to 4 which's name is as long as the hole Genesis if it has no other meaning than just "4" ?
Just to remember what "4" was like?
For the same reason people use "LCD_LINE1", "OUT_A", "S3", "INPUT_RED", or any other macros. You certainly are not required to use them, if you instead prefer to enter the numeric equivalence.