INKEY$()

Previous topic - Next topic

Moru

I can't get INKEY$() to do what I want. Now when I'm typing and want upper case letters it will double the letter when I release the shift button.

eg: I'm typing "Hello", this will come out as "Hhello". To recreate this, run the code below:

Code (glbasic) Select
WHILE TRUE
PRINT "Enter text below!", 50, 50
a$ = INKEY$()
b$ = b$ + a$
PRINT "text: " + b$ + "|", 50, 70
SHOWSCREEN
WEND


When typing, just press and hold shift and then quicklypress any letter and fast let go of shift again and you will most of the time get double letters. Is there something I'm doing wrong?

Kitty Hello

It's a bug. I fixed it in next update.

Moru

Great, thanks!