Re: [M100] Variable Concordance - MTVarConcor
On 5/1/23 19:57, Joshua O'Keefe wrote: The last line of your "Eliza.bas" file seems to make line 100 of the code very unhappy. It seems to be an 0x1a character and then a bunch of question marks. If you delete that line of the input file, the program is parsed successfully. Ah yes, the good old "Ctl-Z" character to mark the end of the file, followed by a bunch of random characters, to the end of the disk sector. The M-100 knows not to go any further after the Ctl-Z but most file utilities don't know that, so the first thing I have to do to clean up the file is remove that junk and Ctl-Z. Cheers,Bert
Re: [M100] Variable Concordance - MTVarConcor
I was curious about that. I could easily modify this utility to deal with a control z.I'll probably post an update to MTVarConcor along with the other two I recently developed (MTLineRef and MTRenum). I'll try to do that before the weekend. Methinks it would be admirable goal for the programs to accept anything that the M100 accepts. Lloyd -Original Message- From: M100 On Behalf Of Bert Put Sent: Tuesday, May 2, 2023 8:16 AM To: m...@bitchin100.com Subject: Re: [M100] Variable Concordance - MTVarConcor On 5/1/23 19:57, Joshua O'Keefe wrote: > The last line of your "Eliza.bas" file seems to make line 100 of the code > very unhappy. > It seems to be an 0x1a character and then a bunch of question marks. > > If you delete that line of the input file, the program is parsed successfully. Ah yes, the good old "Ctl-Z" character to mark the end of the file, followed by a bunch of random characters, to the end of the disk sector. The M-100 knows not to go any further after the Ctl-Z but most file utilities don't know that, so the first thing I have to do to clean up the file is remove that junk and Ctl-Z. Cheers,Bert
Re: [M100] Variable Concordance - MTVarConcor
- Original Message - From: "Joshua O'Keefe" To: Sent: Monday, May 01, 2023 8:57 PM Subject: Re: [M100] Variable Concordance - MTVarConcor > On May 1, 2023, at 5:03 PM, Mike Stein wrote: > > It worked fine on the test program; FYI, attached is the program it died on. > I was able to reproduce the crash and ran it through gdb. The last line of your "Eliza.bas" file seems to make line 100 of the code very unhappy. It seems to be an 0x1a character and then a bunch of question marks. If you delete that line of the input file, the program is parsed successfully.= --- Right you are! The EOF problem; I should have looked a little more carefully. Thanks for the tip, and thanks to Lloyd for the program (and Mtlineref) ! m