Purpose |
Reads a keyboard character if one is ready. |
Syntax |
GRAPHIC INKEY$ TO InkeyVar$ Function Form: InkeyVar$ = GRAPHIC$(INKEY$) |
Remarks |
GRAPHIC INKEY$ returns a
A string length of one means that an ASCII key was pressed and the string contains the ASCII character. An ASCII value between 1 and 31 indicate a control code. A string length of two means that an extended key was pressed. In this case, the first character in the string has an ASCII value of zero, and the second is the extended keyboard code. |
See also |
GRAPHIC INPUT, GRAPHIC INPUT FLUSH, GRAPHIC INSTAT, GRAPHIC LINE INPUT, GRAPHIC WAITKEY$ |