Jim Leonard wrote:
> On Dec 22, 7:48 am, Joe <j...@[EMAIL PROTECTED]
> wrote:
>> NumRecords:= filesize(U);
>
> Don't do that. Maintain a separate variable. Don't determine number
> of records from the size of the file (what if the file size gets
> corrupted?)
>
> Or, if you do, if the filesize is 0 then there are no records. Or, if
> you get an error, the file does not exist and there are no records.
Yes, See thats just it. That that time I didn't know about filepos. The
manual I do have doesn't have samples. Nor does it have a option
filepos. That's why I don't know what I would do with out newsgroups


|