| SWITCH? | |
| Syntax | SWITCH? number |
| Explanation | Use the SWITCH? command to check a
robot device to determine whether the specified switch is
on or off. For the number of switches a robot device supports, use the command ROBOTFACTS. |
| Examples | SWITCH? 1 Result. TRUE |