GLBasic forum

Main forum => Bug Reports => Topic started by: ampos on 2011-Mar-17

Title: INPUT$
Post by: ampos on 2011-Mar-17
When you press the RETURN/ENTER key to finish text input in the input$() command, it dont finish, it just enters a "special" character
Title: Re: INPUT$
Post by: Kitty Hello on 2011-Mar-17
Yes, it's a new bug. I'll fix it ASAP. The enter key returns "\r", which is wrong. It must be "\n".
Title: Re: INPUT$
Post by: a6n0rma1 on 2011-May-25
Any ETA as to when the INPUT bug will be fixed? I am still having it with GLBasic version 9.040 and it is hindering development of my text adventure game. Thanks in advance.
Title: Re: INPUT$
Post by: MrTAToad on 2011-May-25
Its fixed now - try the latest hotfix
Title: Re: INPUT$
Post by: a6n0rma1 on 2011-May-26
Thanks for the quick answer. Silly me, i was unaware of the beta version+hotfix. Now everything is working like it should.
Title: Re: INPUT$
Post by: Gary on 2011-May-26
am I missing something totally obvious here? Where is a link to the beta/hotfix version? I did find it by accident by guessing a few urls but is there an official link anywhere?
Title: Re: INPUT$
Post by: Kitty Hello on 2011-May-26
In "Beta tests" - the Beta - Android thread.
Title: Re: INPUT$
Post by: spacefractal on 2011-May-26
hm? why create your own? Personly I have never liked this kind type of commands (print here does make nice seance throught), because you have no control what user input, and also the length of them.

Instead I have allways create my own. But this one might do work for text advetures :-D

PS. And yes is a bug (Just like ViewPort), but would been nice to set a limit length in the next SDK.
Title: Re: INPUT$
Post by: MrTAToad on 2011-May-26
INPUT should only be used in emergencies or for quick testing/prototyping.  As you mentioned, there is no real control over what the user types in or for how long - but then that was never it's requirement.