CompuServe Thread

#Help-Modula2-Disk-error

6 messages in this thread
#59579From: bob hawkinsMar 19, 1987 7:10 PM
Actually I did finally get so disgusted that I wrote my own error lister (for V2.20). The problem is, text I/O in TDI M2 is incredibly slow. If an error occurred in line 100 of the source, it takes a l-o-n-g time to get it on the screen. Unless I'm missing something, TDI doesn't give you any way to do text input from disk except on a character-by-character basis, which (as we all know) is not AmigaDOS's strength. I thought about reading in blocks of text and doing my own buffering, but it seemed so pointlessly idiotic to have to do that when the DOS would do it for me if the language supported it, that I haven't got the heart for it. Nonetheless, if anyone shows any interest, I'll upload the M2 source and executable.
#59590From: Richard BielakMar 19, 1987 8:06 PM
Bob, please upload your own M2error, I'll be too happy to make the I/O faster……..Richie
#60075From: bob hawkinsMar 22, 1987 8:30 AM
OK, as soon as I get it ARC'd I'll send it up.
#59607From: Steve FaiwiszewskiMar 19, 1987 8:52 PM
Yes, please do upload it. A colleague of mine (and richie's) has been working on fast I/O module (basically doing his own buffering) and he's almost done. – Steve –
#60076From: bob hawkinsMar 22, 1987 8:31 AM
I'll upload it as MYM2ERR.ARC. It's nice to know I was on the right track with my idea about speeding up text IO, even if I was too lazy to actually do it.
#60208From: Steve FaiwiszewskiMar 22, 1987 7:58 PM
Great! Thanks alot. As soon as my colleague completes his work, I'll upload the fast I/O module. – Steve –