Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FSEEK() problems
Message
 
To
21/04/2003 08:05:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00779708
Message ID:
00779711
Views:
12
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform