Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FGETS() AND FREAD()
Message
 
 
To
24/09/1998 12:04:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00140397
Message ID:
00140486
Views:
26
Chuck,

254 is only the default max length returned, not the max possible length. Try this for example:

fh = fopen( "c:\windows\system\vfp500.dll" )
? fh
x = fread( fh, 4000000 )
? len(x)


>The 254 lenght is the max that the low level functions will return.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform