switchvalue
nounUK /ˈswɪtʃˌvæljuː/
US /ˈswɪtʃˌvæljuː/
A switchvalue is the number or setting a switch shows when you flip it.
The light's switchvalue changed from zero to one when I flipped it on.
OTHER MEANINGS
2. In computer programming, a switchvalue is the value a program checks to decide which action to take.
The program reads the switchvalue and runs the matching case.
3. A switchvalue can be the amount of change produced when a switch is moved.
Moving the dial gave a switchvalue of three steps.
4. In games, a switchvalue is a hidden number that tells the game if something is on or off.
The door opened because its switchvalue was set to one.