![]() |
Forum Index : Microcontroller and PC projects : Size of data files in DOS MMBasic
Author | Message | ||||
karjo238 Regular Member ![]() Joined: 12/10/2018 Location: New ZealandPosts: 60 |
Hello there! In among all the messing about I'm doing with MMBasic, I find myself needing to read text from a file that is about 2,600 lines long. In the documentation, I couldn't find mention of any specific file size restriction, but I have overlooked such details before, so thought it best to doublecheck first. Can you read from a text file that's probably not that big in terms of file size - just a bit lengthy? Many thanks, Joseph. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
The maximum string length is 255 bytes so as long as your lines are less than 255 bytes, you can read a line at a time and process as you go. If lines are longer than 255 bytes, you can still work in small chunks. 2600 lines is a small file as far as the file system is concerned. The actual file size limit will depend on the version of MMBasic. Jim VK7JH MMedit |
||||
karjo238 Regular Member ![]() Joined: 12/10/2018 Location: New ZealandPosts: 60 |
Jim - I suspected something like this would be the case, but I didn't want to assume and make an ass out of u and me, as my old boss used to say. Many thanks, Joseph ![]() |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |