Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with FEOF() & dir
Message
De
21/12/2000 03:26:45
James Beerbower
James Beerbower Enterprises
Hochheim Am Main, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Problem with FEOF() & dir
Divers
Thread ID:
00455784
Message ID:
00455784
Vues:
72
I have a relatively large text file (3-4 GB) which VFP, when I display information about it with DIR, reports as being of negative 2 GB (yeah -2.3 GB). This wouldn't be in itself tragic but feof() and fseek confirm that the file is empty. fget() still works. I did a work around using
lcLine =fget(lnHandle)
do while !empty(lcLine)
...
etc but my workaround doesn't work - probably there is an empty line (just a carriage return) in the text file. Anyone have any ideas?

Thanks in advance!
James Beerbower
James Beerbower Enterprises
Frankfurt, Deutschland
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform