Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Input$ Bug?
#1
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
Reply
#2
v1c, forgot to change it?

I forwarded that to you before 0.13 Tongue
Reply
#3
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
Reply
#4
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..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)