General information
Category:
Coding, syntax & commands
You may also need to add 1 if the last character is an EOF - 0x1A. The DOS based OSs seem to like adding it.
Rick
>>I am trying to write a routine to check table integrity before a form's dataenvironment opens tables. I am satisfied that I cannot rely of FOPEN to get the file size because there are too many circumstances where it does not return a file handle. If I set COMPATIBLE ON then FSIZE() is supposed to return the size of a file. Does anyone know what mechanism FSIZE uses to return file size? Would it be reliable in local area network situations. I am comparing the return from FSIZE to the computation of file size based on RECCOUNT and RECORDSIZE. Thanks.
>
>You also need to include the header (HEADER()) amount.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only