Stan Sieler ([log in to unmask]) wrote: : Here's a SIGMPE question for HPWORLD '96: : When will we get some new file system intrinsics that can read/write : more than about 40 KB to 64 KB? FWRITE is fundamentally limited : by the size of the "tcount" parameter (16 bits) to a theoretical : maximum of 32768 bytes or 32767 16-bit words, but some DDS tapes have data : records larger than this! Great idea! [snip] : and: : function HPFREADDIR ( : var status : hpe_status; {32-bit output parameter) : filenum : integer; {32-bit value} : buffer : globalanyptr; {64-bit address} : bytes : bit32; {32-bit value} : recnum : longint) {32-bit value} ^^ Shouldn't this be 64 per your discussion below? : : bit32; : Similar to HPFREAD above, but positions the file to logical record : number "recnum" first. NOTE: if this is a byte stream file, then : recnum is the absolute byte offset from the start of the file. : (Thus allowing 4GB and GREATER files to be read) Rick Ehrhart [log in to unmask]