|
View Message | Back to Messages |
Peter Swinkels Fri Oct 4 2024 at 1:00 pm I did some more testing with some interesting results->
LOC and LOF always return zero. EOF is never set to true. Interestingly, if I use SEEK instead of LOC to retrieve my position inside the file it keeps increasing by the amount of bytes read.
Also I don't need to read exactly 6 bytes in one go, just 6 or more. I am guessing MS-DOS just tries to put at least 6 bytes into the string receiving the data which would of course corrupt memory when QBasic has allocated less than that.
|
|