* *
*
* * News
 • Daily news
 • Archived news

Columns
 • WildCard
 • Qbasic Articles
 • QB Comic!

Learning center
 • QB Books
 • Qbasic Lessons!
 • Qbasic FAQ
 • Newbies Section
 • Qbasic Tutorials

* *
*
*
*
*  
.INKEY$ Function Details.

  QuickSCREEN      Details      Example      Contents      Index
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
INKEY$ Function Details
 
Syntax
  INKEY$
 
The INKEY$ function returns a one- or two-byte string containing
a character read from the standard input device. A null string is
returned if no character is waiting there. A one-character string
contains the actual character read from the keyboard, while a two-
character string indicates an extended code, the first character
of which is hexadecimal 00.
 
See Keyboard Scan Codes Table and the
ASCII Character Codes Table for a complete list
of these codes.
 
The standard input device is usually the keyboard. INKEY$ does
not echo characters to the screen; instead, all characters are
passed through to the program except for the following:
 
  ž CTRL+BREAK,    which halts program execution
  ž CTRL+ALT+DEL,  which does a system reboot
  ž CTRL+NUMLOCK,  which causes program execution to pause
  ž PRTSC,         which prints the screen
 
* * ** * * * *