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.
b = b + ...
Reply


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



Users browsing this thread: 3 Guest(s)