Information générale
Catégorie:
Codage, syntaxe et commandes
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
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