Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FSEEK() problems
Message
De
21/04/2003 08:21:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00779708
Message ID:
00779712
Vues:
13
I just tried that and it is still returning 0. Any other thoughts?

Thanks!!

>The last (3) parametr must be set to 2, if You set this parametr to 0 You always go to the begin file !!!.
>
> parameter 0 - go to begin
> 1 - current file pointer position
> 2 - go end file
>
> wrong !!!! gnPosition = FSEEK(gnFileHandle, 0) // nothing do
> good gnPosition = FSEEK(gnFileHandle, 0, 2) // end of file
>
>
>
>//Hello!
>//I'm using the low level commands to work my way through an ebcdic file. The text file is over 2 GB.
>/
>//I use the following command to try and find the end of the file, however //it always comes back 0. Any ideas why? Can VFP7 not handle a text //file this big?
>
>//gnPosition = FSEEK(gnFileHandle, 0)
>
>//Thanks in advance!
"In three words I can sum up everything I've learned about life : it goes on." - R. Frost

Amanda Brown
Supervisor/Programmer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform