Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FSEEK() problems
Message
 
À
21/04/2003 08:05:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00779708
Message ID:
00779711
Vues:
11
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform