Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telix/SALT v3.15 & RS-232, Hayes - <b>inkey</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  INKEY

  .  Summary

  inkey();

  .  Description

  The inkey function returns a character from the keyboard, but does
  not wait for a key to be pressed.

  Note that Telix while executing a script file checks the keyboard
  between every command to see if the user wants to abort the script.
  For these commands to work, this keyboard checking must be disabled.
  This is done by setting the _scr_chk_key system variable to a non-
  zero (FALSE) value (that variable is further described in the sec-
  tion on system variables).

  .  Return Value

  inkey returns the first character in the keyboard buffer, or a value
  of 0 if the keyboard buffer is empty.

  Both of these functions also return extended key code values which
  are not part of the ASCII character set (for example, the code for
  Alt-D).

  .  Example

  chr = inkey();

See Also: inkeyw _scr_chk_key ASCII table Key Codes

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson