INPUT$

Previous topic - Next topic

ampos

When you press the RETURN/ENTER key to finish text input in the input$() command, it dont finish, it just enters a "special" character
check my web and/or my blog :D
http://diniplay.blogspot.com (devblog)
http://www.ampostata.org
http://ampostata.blogspot.com
I own PC-Win, MacBook 13", iPhone 3G/3GS/4G and iPAC-WinCE

Kitty Hello

Yes, it's a new bug. I'll fix it ASAP. The enter key returns "\r", which is wrong. It must be "\n".

a6n0rma1

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.
I am rubber...Your are glue...
Oh! That is so cliche...
Do i look THAT much like your fiancee?
No! You look like a monkey in a negligee...
Hand over yer treasure!

MrTAToad

Its fixed now - try the latest hotfix

a6n0rma1

Thanks for the quick answer. Silly me, i was unaware of the beta version+hotfix. Now everything is working like it should.
I am rubber...Your are glue...
Oh! That is so cliche...
Do i look THAT much like your fiancee?
No! You look like a monkey in a negligee...
Hand over yer treasure!

Gary

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?

Kitty Hello

In "Beta tests" - the Beta - Android thread.

spacefractal

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.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrTAToad

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.