Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
INKEY$ doesn't work with fixed length strings
#31
Quote:Don't think I have the patience to wait, I could die tomorrow and the world would have to suffer the loss of my perspective, that would be a shame. ;-))
Or you could die today, and we'd have one more day to get over it. Big Grin j/k

Too much talk about dying in this thread including dying on hills. I mean it's all fun and games until someone's keyboard loses an 'I'.


Code: (Select All)
k$ = Input$(1)


I remember back in the QB days when some folks used that as a "Press Any Key" SLEEP alternative. I hadn't thought about the return value being only one character in length though, because I knew it worked with F1-F12 keys; but sure enough, it only returns the null character for those keys. Good to know.

Pete
Reply




Users browsing this thread: 10 Guest(s)