Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
INKEY$ doesn't work with fixed length strings
#17
Code: (Select All)
DIM a AS STRING * 8
DIM b AS STRING
a = "12345"
b = "12345"

FOR i = 1 TO 10
PRINT a;
NEXT

FOR i = 1 TO 10
PRINT b;
NEXT

I believe that these should have the same result.

The excess memory is there for use, but not filled with spaces.
Reply


Messages In This Thread
RE: INKEY$ doesn't work with fixed length strings - by justsomeguy - 07-31-2024, 02:56 PM



Users browsing this thread: 10 Guest(s)