User Tools

Site Tools


ugbasic:user:kw:define_keyboard_delay
Translations of this page:


ugBASIC User Manual

DEFINE KEYBOARD DELAY

SYNTAX

   DEFINE KEYBOARD DELAY value

PURPOSE

This command allows you to define the delay to wait before the characters will be repeated by the input system, with the INPUT or INKEY command. The delay depends on the target, with a minimum value of 1 (no delay) to a maximum value of 255 (maximum delay).

EXAMPLE

  DEFINE KEYBOARD DELAY 50

ABBREVIATION

 De Kyb Dy

AVAILABLE ON

  • Atari (400/800)
  • Atari XL/XE
  • Commodore 128 (MOS 8502)
  • Commodore 128 (Zilog Z80)
  • Amstrad CPC 664
  • MSX

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY