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

Click here to load this message in the networking platform