Qbasicnews.com

Full Version: Input$ Bug?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi all, im new at this forum, but i've already checked most of the threads regarding this issue.
i posted this on fb.tk where zire kindly reply at me.

anyway the following code works ok in qb45:

Code:
cls
DO
   v$ = INPUT$(1)
   IF v$ = "Q" THEN print "Q!"
   IF v$ = "W" THEN print "W!"
   IF v$ = "B" THEN CLS : END
LOOP

and as a result i get the q! and w! lettes printed on screen (caps lock needed)

but in fbasic doesnt work at all.
is this a bug or is it an intentional change?
thanks

xeonrebel
v1c, forgot to change it?

I forwarded that to you before 0.13 Tongue
yep
but, he actually changed the gosub issue, Smile
even though im not using it anymore (using sub and function), i was really glad to see that.

thanks v1c!

xeonrebel
Yeah, i will check it asap, thanks..


EDIT: Okay, fixed, changes are in CVS, you will have to rebuild the runtime library yourself or then pass a byte more by now.. ie: input$(2), or just use inkey$.. or wait for the next release..