![]() |
Forum Index : Microcontroller and PC projects : CMM2: Bug in INPUT$ function ?
Author | Message | ||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Hey CMM2 gurus, Run the attached file on CMM and CMM2. input_.bas.zip On CMM output is: Len = 251 Last 3 = 49 13 10 On CMM2 output is: Len = 252 Last 3 = 13 10 0 I believe the CMM is correct and the CMM2 is wrong. Hope this helps, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
I agree that there is a problem. If you try and read past the end of a file using INPUT, there is a zero byte character appended. Jim VK7JH MMedit |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |