Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does FSIZE() work?
Message
De
07/02/2002 15:23:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00616888
Message ID:
00616950
Vues:
32
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
Fil
Voir

Click here to load this message in the networking platform