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 _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal