Page 1 of 1

aaaaaaaa's in my input (console) code

Posted: Wed Aug 17, 2005 10:27 pm
by BOOGIEMAN
Here is the part of my code, where I'm supposed to input some numbers for my program:

Code: Select all

If  OpenConsole()
     
    startinputt:    
    ClearConsole()
        
    Print("How many : ")
    ukupno = Int(Val(Input()))
    PrintN("")
    Print("How much: ")
    brfav = Int(Val(Input()))
    If brfav > ukupno : Goto startinputt : EndIf
    PrintN("")
CloseConsole()
EndIf
When you press space and than backspace, you'll notice that letters aaaaaa are starting to show.
Can that be avoided ? Did I make some mistake in this code ?

Posted: Wed Aug 17, 2005 10:31 pm
by thefool
not here?

Posted: Wed Aug 17, 2005 11:04 pm
by fweil
Works perfectly here ...

in aside : I love your variables' names !

Posted: Wed Aug 17, 2005 11:44 pm
by BOOGIEMAN
WTH, don't tell me I discovered new SP2 bug :lol: . What OS are you using ?

Posted: Wed Aug 17, 2005 11:49 pm
by kenmo
Do you mean ALT and backspace? Because that produces little triangle (almost A) symbols for me...

Posted: Wed Aug 17, 2005 11:56 pm
by fweil
Using WXPSP2 here

Posted: Thu Aug 18, 2005 12:09 am
by BOOGIEMAN
No man, no ALT, no CTRL, just press space 10 times for example, and when I want to get cursor back by pressing backspace "aaaaa" shows instead of empty space. Very weird, but I'll tolerate it. At least my code finally work :D