Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fseek in vfp9
Message
From
19/09/2012 10:19:23
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Fseek in vfp9
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01553214
Message ID:
01553214
Views:
85
? FSEEK( nHandle, 0, 2 )
? FSEEK( nHandle, -35, 2 )

Both instructions return the same value in one of my programs that is compiled and run with VFP9 SP2. In VFP7 they return what they should return: The first returns the total length, the second returns the total length minus 35. In the command window of VFP9 it is also okay.

Is this a bug in vfp9?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Reply
Map
View

Click here to load this message in the networking platform