aaaaaaaa's in my input (console) code

Just starting out? Need help? Post your questions and find answers here.
BOOGIEMAN
User
User
Posts: 24
Joined: Sun Aug 07, 2005 10:29 pm
Location: Earth

aaaaaaaa's in my input (console) code

Post 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 ?
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

not here?
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post by fweil »

Works perfectly here ...

in aside : I love your variables' names !
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
BOOGIEMAN
User
User
Posts: 24
Joined: Sun Aug 07, 2005 10:29 pm
Location: Earth

Post by BOOGIEMAN »

WTH, don't tell me I discovered new SP2 bug :lol: . What OS are you using ?
User avatar
kenmo
Addict
Addict
Posts: 2047
Joined: Tue Dec 23, 2003 3:54 am

Post by kenmo »

Do you mean ALT and backspace? Because that produces little triangle (almost A) symbols for me...
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post by fweil »

Using WXPSP2 here
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
BOOGIEMAN
User
User
Posts: 24
Joined: Sun Aug 07, 2005 10:29 pm
Location: Earth

Post 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
Post Reply