Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
INKEY$ doesn't work with fixed length strings
#2
I think your program is just running too fast for the character to appear on the screen. Keep in mind that a fixed length string is never empty, so when you do the `PRINT` it will always put out two characters when printing the string. NUL bytes (CHR$(0)) will fill the fixed-length string when nothing was returned by INKEY$ and when printed those appear like a space, so they will overwrite whatever was previously on the screen.
Reply


Messages In This Thread
RE: INKEY$ doesn't work with fixed length strings - by DSMan195276 - 07-28-2024, 04:05 PM



Users browsing this thread: 8 Guest(s)