#Help-Modula2-Disk-error
6 messages in this thread
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.
Bob, please upload your own M2error, I'll be too happy to make the I/O
faster……..Richie
OK, as soon as I get it ARC'd I'll send it up.
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 –
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.
Great! Thanks alot. As soon as my colleague completes his work, I'll upload
the fast I/O module.
– Steve –