HTBasic Help
×
Menu
Index

KBD Status

 
int kbdcrt_statuskbd( int reg, int *value );
 
Where:
  reg   - register number to read
  value - pointer to location for status register value
 
Description
This routine performs the same action as the STATUS KBD statement. The current value of the specified register is returned. The return value is either a zero indicating no errors or an HTBasic error code.
 
Example
int error;
int value;
error = kbdcrt_statuskbd( 3, &value );
See Also
kbdcrt_controlkbd, kbdcrt_statuscrt