GLBasic forum

Main forum => Bug Reports => Topic started by: Moru on 2008-Nov-28

Title: INKEY$()
Post by: Moru on 2008-Nov-28
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?
Title: Re: INKEY$()
Post by: Kitty Hello on 2008-Nov-28
It's a bug. I fixed it in next update.
Title: Re: INKEY$()
Post by: Moru on 2008-Nov-28
Great, thanks!