CompuServe Messages

#DiskReads & Size?

    02-Feb-94 17:49:22
Sb: #DiskReads & Size?
Fm: New member 73016,27
To: ALL
Another AmigaDos question. I am porting over the part of the program that reads in a disk file into a 16K buffer. I understand that I can set my block size to 16K and just keep reading. Question is how do I get the files total size? I guess I could keep doing reads until I get back less then my requested block size but it would be nice to be able to say (early on) Sorry this file is too large to load in. Thanks.