Preben Mikael Bohn preben at chin.dk
Wed Mar 19 16:39:40 CET 2003

 Anton Tichawa wrote:
> Well, safety is still important. You should use the returned count in your
> procedure to be on the safe soide. The end might come sooner than expected.

Right now I terminate the program if all data can not be read in one go and I
have not have any problems with it. However you are completely right that I
should use the returned count, the problem is that I don't know how to tell
blockread to start from somewhere within my buffer-array and from the start.
Of course I could just copy the buffer-content to another array, but this
seems awful clumpsy.

Best regards Preben

More information about the fpc-pascal mailing list