Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
INKEY$ doesn't work with fixed length strings
#26
@justsomeguy If you need an input with garanteed len = 1 check this out
Code: (Select All)
Do
    k$ = Input$(1)
    If k$ <> "" Then Print k$, Asc(k$), Len(k$)
    _Limit 30
Loop

It can differentiate from esc and space and enter with ASC() help and still detect but not describe 2 len arrow keys.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
RE: INKEY$ doesn't work with fixed length strings - by bplus - 08-01-2024, 02:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Issue with UDTs and Strings / PSA justsomeguy 6 1,571 08-09-2024, 02:46 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)