Information générale
Catégorie:
Codage, syntaxe et commandes
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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement